parse-community / Parse-SDK-Flutter

The Dart/Flutter SDK for Parse Platform
https://parseplatform.org
Apache License 2.0
575 stars 187 forks source link

Forbidden field names #1006

Open visign3d opened 2 weeks ago

visign3d commented 2 weeks ago

There are some forbidden field names , that cause errors, unexpected behavior. For example if i use 'className' in object data type set{"className","something"} the resulted return object wouldnt be a jsonObject as expected , rather a parse object, cousing cast errors. It would be good including the forbidden field names in docs.

parse-github-assistant[bot] commented 2 weeks ago

Thanks for opening this issue!

mtrezza commented 2 weeks ago

Are you referring to the SDK or to Parse Server? If SDK, how do other Parse client SDKs handle this? If Parse Server, it should reject an invalid / reserved field name. It does so with other invalid names, so this should be added to the internal list.