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
Is there any possibility of getting an example of how you would use this to return a complex object?
As an example, returning a object of the following form:
public class ComplexObect
{
public ComplexPerson Child { get; set; }
public ComplexPerson Uncle { get; set; }
}
public class ComplexPerson
{
public ComplexKey Key { get; set; }
public string Name { get; set; }
public int Age { get; set; }
}
public class ComplexKey
{
public int Key { get; set; }
public int ReferenceKey { get; set; }
}
The text was updated successfully, but these errors were encountered:
At the moment it's required to have XRoadSerializable type as a root type somewhere in the type hierarchy. I have thought about removing that requirement to simplify models, but haven't got to that yet.
Is there any possibility of getting an example of how you would use this to return a complex object?
As an example, returning a object of the following form:
The text was updated successfully, but these errors were encountered: