« All deprecation guides
Deprecation Guide for JSONAPISerializer.payloadKeyFromModelName for belongsTo Relationship
until: 4.0.0
id: jsonapiserializer-payloadkeyfrommodelname-for-belongsto-relationship
feature: ds-payload-type-hooks
Using JSONAPISerializer.payloadKeyFromModelName
to serialize the type of a
belongsTo
relationship has been deprecated in favor of
JSONAPISerializer.payloadTypeFromModelName
.
See JSONAPISerializer.payloadKeyFromModelName for Resource for more information.