Skip to content

allow to disable index validation on database adapters #8136

@Moumouls

Description

@Moumouls

New Feature / Enhancement Checklist

Current Limitation

There are too many kinds of indexes and also parse has many fields transformations like authData session token and more. Some critical indexes (like session tokens) cannot be created via Parse Defined Schema or Parse Schema SDK due to Parse index field validation in database adapters.

Feature / Enhancement Description

Add an option disableIndexFieldValidation on both database adapters to let the developer create any indexes.
Developers is responsible of creating valid indexes name/field.

Example Use Case

// in parse server config
databaseOptions: {
  disableIndexFieldValidation: true
}

Alternatives / Workarounds

No workaround

3rd Party References

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions