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
result: code: 422, message: ' (encoded as ) is not a valid integer'
The text was updated successfully, but these errors were encountered:
serjek
changed the title
Failing to parse encoded array as top level structure
Failing to parse encoded array of objects as top level structure
Jun 11, 2022
serjek
changed the title
Failing to parse encoded array of objects as top level structure
Failing to parse encoded array as top level structure
Jun 12, 2022
Never ran into this yet, because it's not such a terribly good idea to have an array at the very root. If it's an object, it's trivial to extend the structure by adding an (optional) field and thus not breaking anything, while if it's an array you have to start restructuring things. So I'm inclined to say that we probably shouldn't support this and issue a proper error message at compile time.
tink.QueryString.parse(("[0]=1":Array<Int>))
result:
code: 422, message: ' (encoded as ) is not a valid integer'
The text was updated successfully, but these errors were encountered: