[backend/federation] Fix XsdString handling during deserialization
This commit is contained in:
parent
a60a17067a
commit
4448f03e8b
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ public class ValueObjectConverter : JsonConverter
|
||||||
if (objectType == typeof(XsdString))
|
if (objectType == typeof(XsdString))
|
||||||
{
|
{
|
||||||
var val = obj?.Value;
|
var val = obj?.Value;
|
||||||
|
if (val is string x) return new XsdString(x);
|
||||||
return val as XsdString;
|
return val as XsdString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue