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

Rework `AbstractResourceType::getProperties` approach #98

Closed dresslerdemos closed 3 months ago

dresslerdemos commented 1 year ago

Currently the getProperties method must return a list of PropertyBuilder instances. The has disadvantages:

dresslerdemos commented 3 months ago

Beside

Another feature may be to return a different interface after a setter was used, so that previously used setters are not suggested for further calls.

which was scrapped, the ideas laid out above have been implemented.