Request and number field improvements
Upgrading
composer require laravel-json-api/laravel --no-update
composer up laravel-json-api/*Changelog
Added
- #110 For requests that modify a relationship, it is now possible to get the model or models referenced in the request JSON using the
toOne()ortoMany()methods on the resource request class. - #113 The Eloquent
Numberfield can now be configured to accept numeric strings by calling theacceptStrings()method on the field.