Skip to content

allow to disable index validation on database adapters #8136

Closed

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

Activity

  1. parse-github-assistant commented on Aug 23, 2022

    @parse-github-assistant

    Thanks for opening this issue!

    • 🎉 We are excited about your ideas for improvement!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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