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
I service I am interacting with returns nil elements along with the xsi type information, like so:
<node xsi:type="datetime" xsi:nil="true" />
Unfortunately, Nori currently converts this to:
{:'@xsi:type' => 'datetime' }
Instead of just nil
IMHO, this isn't the expected behaviour, since we can infer the type information from the WSDL, and don't need this lingering quasi-nil hash value around just for the type information.
Thoughts? I'm not sure if all attributes should be zapped when xsi:nil is encountered, or just xsi/xmln prefixed ones.
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue @petejohanson. I believe it's safe to assume that the value is actually nil so long as xsi:nil is present in the element, regardless of type information.
The best I could find was some w3 docs indicating that other attributes can be present, but no value.
I service I am interacting with returns nil elements along with the xsi type information, like so:
Unfortunately, Nori currently converts this to:
Instead of just
nil
IMHO, this isn't the expected behaviour, since we can infer the type information from the WSDL, and don't need this lingering quasi-nil hash value around just for the type information.
Thoughts? I'm not sure if all attributes should be zapped when
xsi:nil
is encountered, or just xsi/xmln prefixed ones.The text was updated successfully, but these errors were encountered: