Parse-SDK-Flutter icon indicating copy to clipboard operation
Parse-SDK-Flutter copied to clipboard

Forbidden field names

Open visign3d opened this issue 1 year ago • 2 comments

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.

visign3d avatar Aug 27 '24 10:08 visign3d

Thanks for opening this issue!

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.

mtrezza avatar Aug 28 '24 03:08 mtrezza