Replies: 1 comment
-
🙄 nevermind. as usual after I post, I realize this is a Parse-Server problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm encountering this error when I run the function while passing an array of ParseObjects as a parameter in a ParseCloudable struct. (i.e.
var items: [MyObject]?
)After a lot of debugging regarding this Parse-Server configuration "encodeParseObjectInCloudFunction" - I found this function in Parse-Server repo functionrouter.js
https://github.com/zivchen/parse-server/blob/50d01c537422530a0ec4aaa2b5d4a33162f1a21f/src/Routers/FunctionsRouter.js#L12-L32
Which, if I correctly drilled down to, takes a config parameter from the request object.
Looking at the
config.encodeParseObjectInCloudFunction
part of that function, it basically means it's getting that config, not from parse-server but from the request object sent by Parse-Swift correct?but it doesn't seem like this
encodeParseObjectInCloudFunction
configuration exists yet in Parse-Swift as of 5.9.2.So the question is, am I right that this is a configuration that needs to be added somewhere in the Parse-Swift repo or is there something wrong with my setup in Parse-Server (my tests of settings
encodeParseObjectInCloudFunction: true
in Parse-Server configuration file yields the same error. the parameter is always undefined when I pass an array of ParseObjects.thanks,
edit: if it helps, there's this issue on that property here: parse-community/parse-server#8783 (comment)
Beta Was this translation helpful? Give feedback.
All reactions