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
If a relation is listed in the resource class as single-cardinality, but the server returns an array, Crnk triggers a ClassCastException in ResourceUpsert#setRelationFieldAsync:361 (in 3.4) because it assumes that the value will be a ResourceIdentifier. Ideally, Crnk should be lenient and accept what the server sent; at the very least, it should produce a meaningful error message instead.
The text was updated successfully, but these errors were encountered:
If a relation is listed in the resource class as single-cardinality, but the server returns an array, Crnk triggers a
ClassCastException
inResourceUpsert#setRelationFieldAsync:361
(in 3.4) because it assumes that the value will be aResourceIdentifier
. Ideally, Crnk should be lenient and accept what the server sent; at the very least, it should produce a meaningful error message instead.The text was updated successfully, but these errors were encountered: