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
Sorry - haven't worked with Firefly for some time. I did a PR that tried to improve some type handling, but overall it doesn't seem like a current focus of Firefly to handle the complex data types that Hyperledger Fabric supports.
Currently, parameters that are objects are not encoded as strings, however, arrays are.
Object parameter: https://github.com/hyperledger/firefly-fabconnect/blob/main/internal/rest/utils/params_test.go#L91
Array parameter: https://github.com/hyperledger/firefly-fabconnect/blob/main/internal/rest/utils/params_test.go#L306
This is not consistent, and begs the question how to pass objects with nested arrays and arrays of objects.
Tests are missing for
objectArray
.Firefly is sending objects encoded as strings, and this results in errors, see:
hyperledger/firefly#1307
The text was updated successfully, but these errors were encountered: