Closed InconceivableDuck closed 2 months ago
I also encountered an issue with arrays of structs. I believe it is fixed in the upcoming v2.0, in case you'd like to give that a try:
"ads-client": "^2.0.0-beta.3"
Migration guide: https://github.com/jisotalo/ads-client/blob/2.0.0-beta.3/MIGRATION.md
I can confirm that v2 does work.
Thanks for reporting! If everything works in v2, then I might not look into this.
Happy to wait for the v2 release. Closing this issue.
Related to https://github.com/jisotalo/ads-client/issues/53
Looks like it was fixed for arrays of basic types, but not for arrays of complex types.
Error:
Symbol Info:
Result from
readRawMulti
:Output of
getDataType
from withinconvertFromRaw
:We can see the raw data's length matches the symbol's size, but the check errors. Using
readSymbol
or commenting out the check does result in successfully parsing the result.