We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 912f45c commit 40c8ffeCopy full SHA for 40c8ffe
src/JsonApiDotNetCore/Builders/DocumentBuilder.cs
@@ -276,6 +276,8 @@ private ResourceIdentifierObject GetIndependentRelationshipIdentifier(HasOneAttr
276
return null;
277
278
var relatedContextEntity = _jsonApiContext.ContextGraph.GetContextEntity(hasOne.Type);
279
+ if (relatedContextEntity == null) // TODO: this should probably be a debug log at minimum
280
+ return null;
281
282
return new ResourceIdentifierObject
283
{
0 commit comments