demos-europe / edt

Enables your PHP application to expose its entities as REST resources using the feature rich JSON:API specification as API. How and to whom your entities are exposed is highly customizable while minimizing boilerplate code.
MIT License
2 stars 1 forks source link

Add jsonapi features to `WrapperArrayFactory` #153

Open joorei opened 3 months ago

joorei commented 3 months ago

The WrapperArrayFactory will convert a given entity and TransferableTypeInterface instance to an array. However, it will simply consider all readable properties of the given type instance, not supporting/considering the following: