Closed juliomotol closed 1 year ago
Thank you for reporting this.
Fixed in: https://github.com/timacdonald/json-api/commit/deb13fa2d3375f50a1aec8fb90c822161ce2f364
Available in the latest tag: https://github.com/timacdonald/json-api/releases/tag/v1.0.0-beta.3
We made a
JsonApiResource
for our settings class (fromspatie/laravel-settings
)This used to work before, but when we updated to v1.0.0-beta.2 it broke. Here is the stack trace:
Its trying to get the
$attribute
of the settings class but that doesn't exists.https://github.com/timacdonald/json-api/blob/c32663263545b1dc80a5708f92507a6fa2279a90/src/Concerns/Attributes.php#L69-L76