parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

allow to disable index validation on database adapters

Open Moumouls opened this issue 3 years ago • 1 comments
trafficstars

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

Moumouls avatar Aug 23 '22 09:08 Moumouls

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!