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 072ced3 commit ec25664Copy full SHA for ec25664
src/JsonApiDotNetCore/Builders/DocumentBuilder.cs
@@ -183,11 +183,7 @@ private DocumentData _getIncludedEntity(IIdentifiable entity)
183
184
var contextEntity = _jsonApiContext.ContextGraph.GetContextEntity(entity.GetType());
185
186
- var data = new DocumentData
187
- {
188
- Type = contextEntity.EntityName,
189
- Id = entity.StringId
190
- };
+ var data = _getData(contextEntity, entity);
191
192
data.Attributes = new Dictionary<string, object>();
193
0 commit comments