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
{{ message }}
This repository was archived by the owner on Mar 29, 2018. It is now read-only.
If I use the GetStream Ruby client and retrieve a notification feed containing that activity the expected product data is returned. See ruby_client.rb.
If I use the Go Client however, the product object is just returned as "product": "". See go_client.json.
Hi,
I have a notification activity that has the form
raw_activity.jsonhttps://gist.github.com/JonnyPillar/a7c7705fc564ca17a88dbf9ec3ced477. As part of the activity we have theproductfield which is a custom object (Note product data has been removed).If I use the GetStream Ruby client and retrieve a notification feed containing that activity the expected product data is returned. See
ruby_client.rb.If I use the Go Client however, the product object is just returned as
"product": "". Seego_client.json.Looking at the code it comes down to https://github.com/GetStream/stream-go/blob/master/activity.go#L202 being set a string. If the custom element is not a string it is not unmarshalled. Was this an intentional design decision or a bug?
Thanks for the help
JP