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
Doing some tinkering with the SCIM reference sample and ran into a strange thing. Doing
var patch1 = PatchOperation2Combined.Create(OperationName.Replace, Path.Create(AttributeNames.Name + "." + AttributeNames.GivenName).ToString(),"new name");
ends up with the value being encoded into json as
{ "value": "new name" }
while doing
var patch1 = new PatchOperation2Combined(OperationName.Replace, Path.Create(AttributeNames.Name + "." + AttributeNames.GivenName).ToString());
patch.value = "new name";
just stores "new name".
Then when values are decoded inside patch they are deserialized as OperationValue[] then 'string', but wondering if it should also attempt a 'OperationValue' deserialize to stripg the "value": json wrapper it adds?
The text was updated successfully, but these errors were encountered:
Doing some tinkering with the SCIM reference sample and ran into a strange thing. Doing
var patch1 = PatchOperation2Combined.Create(OperationName.Replace, Path.Create(AttributeNames.Name + "." + AttributeNames.GivenName).ToString(),"new name");
ends up with the value being encoded into json as
{ "value": "new name" }
while doing
var patch1 = new PatchOperation2Combined(OperationName.Replace, Path.Create(AttributeNames.Name + "." + AttributeNames.GivenName).ToString());
patch.value = "new name";
just stores "new name".
Then when values are decoded inside patch they are deserialized as OperationValue[] then 'string', but wondering if it should also attempt a 'OperationValue' deserialize to stripg the "value": json wrapper it adds?
The text was updated successfully, but these errors were encountered: