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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
JsonSerializer.deserialize now fills arrays declared as @field(Array, { genericArguments: [ItemType] }), the form standard-decorator code uses. Items are deserialized as ItemType, including concepts and nested models; before, such an array came back empty.
A concept that declares static readonly valueType (for example Guid) now receives its value converted to that type, so a ConceptAs<Guid> holds a Guid instead of a string.
Falsy payload values ("", 0, false) are deserialized through their field type, so a concept field holding an empty string or zero is wrapped in its concept like any other value.