Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 528 Bytes

2020-12-16-fix-hydration-of-wrong-json-attributes.md

File metadata and controls

11 lines (11 loc) · 528 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Fix hydration of wrong json attributes
issue: NEXT-12225
author: Jannis Leifeld
author_email: [email protected] 
author_github: @jleifeld
---

Administration

  • Added method isJsonObjectField to entity-definition
  • Added method isJsonListField to entity-definition
  • Added hydration for empty json fields in entity-hydrator to fix issues with empty json objects which get hydrated as arrays. This works in PHP but in JS array can not have properties therefore it will be converted to an empty object.