dogado-group / json-api-common

Common php interfaces and classes which represent the JSON:API protocol in order to build a client or server application.
https://www.dogado.de
MIT License
1 stars 0 forks source link

Model converter: Empty value objects should be treated like empty hashes #16

Closed chris-doehring closed 3 years ago

chris-doehring commented 3 years ago

Given is a model with a value object without any attribute properties. The model converter would convert the value object to null, although it is not null as property. It should be an empty hash instead.