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
But library try to deserialize it into the IEnumerable<KeyValuePair<string, string>>. KeyValuePair class has two properties Key and Value.
So only Value can be deserialized correctly.
The text was updated successfully, but these errors were encountered:
Thanks for the report! I've got this fixed in v2.0 (#43) by changing NoteAttributes to a list of ShopifyNoteAttribute. As part of this change, you'll also be able to use any kind of object (string, int, another object) for the Value prop.
I tried to get NoteAttributes of ShopifyOrder. But "key" is always empty.
Shopify return NoteAttributes as:
But library try to deserialize it into the
IEnumerable<KeyValuePair<string, string>>
.KeyValuePair
class has two propertiesKey
andValue
.So only
Value
can be deserialized correctly.The text was updated successfully, but these errors were encountered: