Active
Project:
Drupal core
Version:
main
Component:
jsonapi.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2018 at 18:18 UTC
Updated:
26 Jun 2020 at 13:38 UTC
Jump to comment: Most recent
JsonApiDocumentTopLevelNormalizer::denormalize and EntityNormalizer::denormalize perform many similar duties which makes them hard to reason about. Most of the top-level tasks should be moved "down" into the EntityNormalizer. Also, they've not been updated to take advantage of the more sophisticated knowledge held in the ResourceType value object (field mappings for example).
Comments
Comment #2
wim leersIf there were more detail in the issue summary, it'd be possible for somebody less intimately familiar with the JSON:API code base to take this on? 🤞
Comment #3
avpadernoComment #5
avpaderno