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

[2.0] Drop `doctrine/annotations` support in favor of php 8 attributes #6

Closed chris-doehring closed 3 years ago

chris-doehring commented 3 years ago

This package uses doctrine/annotations in order to be able to convert models into json api resources. The new native php 8 attributes can achieve the same and are already supported since v1.1.0. That makes the annotations superfluous, so their support can be removed in the next major release v2.0.0.

chris-doehring commented 3 years ago

The dogado/json-api-server packages follows the same idea and will also drop annotation support in the next major release. See https://github.com/dogado-group/json-api-server/issues/4