json-api
json-api copied to clipboard
JsonApiServerImplementation 'final'`, doesn't allow custom implementations
JsonApiServerImplementation class is a simple DTO that keeps jsonapi server information.
There are cases, where some schemas need to declare some profiles etc. Unfortunately, the usage of final
keyword, prevents any extension in order to support profile
& extension
properties.
It would be fine to either remove the final
keyword, or support the extra properties JSON:API defines
https://github.com/timacdonald/json-api/blob/5c7f28bdc46ba078e2d8bfda307130095931a9a5/src/JsonApiServerImplementation.php#L10
@timacdonald Can you help fixing this or propose a way in order to open a PR? Any help will be appreciated
I would say that we should add support for those properties on the JsonApiServerImplementation
class the package ships with.