Skip to content

allow to disable index validation on database adapters #8136

Open
@Moumouls

Description

@Moumouls
Member

New Feature / Enhancement Checklist

  • I am not disclosing a vulnerability.
    I am not just asking a question.
    I have searched through existing issues.

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

parse-github-assistant

parse-github-assistant commented on Aug 23, 2022

@parse-github-assistant

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!
linked a pull request that will close this issue on Aug 23, 2022
linked a pull request that will close this issuefeat: Disable index validation #8137on Aug 25, 2022
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

      Participants

      @mtrezza@Moumouls

      Issue actions

        allow to disable index validation on database adapters · Issue #8136 · parse-community/parse-server