Skip to content

allow to disable index validation on database adapters #8136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
Moumouls opened this issue Aug 23, 2022 · 1 comment · May be fixed by #8137
Open
3 tasks done

allow to disable index validation on database adapters #8136

Moumouls opened this issue Aug 23, 2022 · 1 comment · May be fixed by #8137
Labels
type:feature New feature or improvement of existing feature

Comments

@Moumouls
Copy link
Member

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

@parse-github-assistant
Copy link

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@Moumouls Moumouls linked a pull request Aug 23, 2022 that will close this issue
7 tasks
@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Aug 25, 2022
@mtrezza mtrezza linked a pull request Aug 25, 2022 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants