json-api icon indicating copy to clipboard operation
json-api copied to clipboard

Framework agnostic JSON API (jsonapi.org) implementation

Results 10 json-api issues
Sort by recently updated
recently updated
newest added

I've been getting this error: ``` Exception: Cannot traverse an already closed generator src/Parser/RelationshipData/RelationshipDataIsCollection.php:132 ``` It only occurs when relationship data is empty. The cause of the bug is these...

This pull request will provide compatibility with PHP 8.1 and fix deprecations.

Case: I have multiple implementation for my entity interface and one schema for all it. Now SchemaContainer - use `class_exists()`, but not `interface_exists()` - use `get_classs()` for check instance type...

As described in the issue, if relationship data was an empty generator, an error would be triggered as the generator was iterated over twice when including related resources. This is...

Would you welcome a PR which adds a stricter typing using php psalm? This would, say, make possible to have a strictly typed `BaseResponses` through generics, so that it returned...

I've started implementing the sparse fieldsets in my application. At first I was surprised how easy it was to add the functionality to my app. Without included relationships is the...

question
in progress

It would be very nice of this package if it has more beginner-friendly and all-covered documentation with examples. However, Thank you, this package is very helpful

question

Support for PHP 5.5-7.0 and HHVM is in version 1.x (branch `v1.x`) If you're upgrading from 2.x have a look at [upgrade notes](https://github.com/neomerx/json-api/wiki/Upgrade-Notes#to-30-from-2x) If you're upgrading from 1.x have a...

question
fixed

I upgraded to PHP version 8.1 recently and as a result I'm now getting all of these warnings. ``` 2023-01-27 19:52:18 warning: Cannot modify header information - headers already sent...

With the new PHP 8.4 version comes "Implicitly nullable parameter declarations deprecated" which causes alot of warnings. Is it possible to fix the deprecated warnings?