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
jaredcnance
changed the title
Exception thrown if optional relationship is null
Exception thrown if relationship name doesn't match navigation property name
Jul 26, 2018
Discovered in v2.4.0-beta3
JsonApiException: N2JsonApi.Models.Item does not contain a relationship named ...
JsonApiDotNetCore.Internal.ContextGraph in GetRelationship
JsonApiDotNetCore/src/JsonApiDotNetCore/Internal/ContextGraph.cs
Lines 51 to 63 in 271693a
Update
Caused by: https://github.com/json-api-dotnet/JsonApiDotNetCore/pull/352/files#diff-967b2ba5f610a691c8d3f1b7ffbafe72L87
Need to improve API documentation so it is more clear what these methods do.
Also, need to add tests with compound (or just different) attribute names.
The text was updated successfully, but these errors were encountered: