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
Runtime error while deserializing the the 'coordinates' field of a GeoJSONPointType
HC and SS 11.3.0-preview.7
I'm trying to desterilize the 'coordinates' field of a point
fragment currentStatusFields on CurrentStatus {
position {crs coordinates}
}
I'm getting this error:
The requested operation requires an element of type 'String', but the target element has type 'Array'., code:
Exception: System.InvalidOperationException: The requested operation requires an element of type 'String', but the target element has type 'Array'
I assume that is because the actual JSON contains an array for the coordinates:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Runtime error while deserializing the the 'coordinates' field of a GeoJSONPointType
HC and SS 11.3.0-preview.7
I'm trying to desterilize the 'coordinates' field of a point
I'm getting this error:
I assume that is because the actual JSON contains an array for the coordinates:
I've tried registering my own Serializer for the 'Position' scalar type (that's the type my schema reports for coordinates):
However, in that case I get a build error:
The text was updated successfully, but these errors were encountered: