You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A cloud function is set up to take one argument of the String datatype. This argument length is limited to a max of 63 characters (prior to 0.8.0), 622 characters (since 0.8.0). The String is UTF-8 encoded.
The arg parameter does appear to be limited to 622 characters now - which is great!
p.s. I would've submitted a PR to fix this, but it doesn't appear to be possible, I couldn't find the text in the repository.
The text was updated successfully, but these errors were encountered:
Thanks for the feedback. You are correct and the string doesn't exist in the docs repository because it's auto-generated from comments in the source, so it has to be changed there.
TL;DR update the Cloud API docs with the function argument information from the Device OS API Docs.
In call a function on the Cloud API docs the information about the ARG parameter reads:
In the Device OS API Docs (e.g. Argon Particle.function) it has different information:
The arg parameter does appear to be limited to 622 characters now - which is great!
p.s. I would've submitted a PR to fix this, but it doesn't appear to be possible, I couldn't find the text in the repository.
The text was updated successfully, but these errors were encountered: