egeriis / laravel-jsonapi

Make it a breeze to create a jsonapi.org compliant APIs with Laravel 5.
MIT License
146 stars 27 forks source link

Per jsonapi 1.0, id is always supposed to be string #37

Closed mfn closed 9 years ago

mfn commented 9 years ago

See http://jsonapi.org/format/1.0/#document-resource-objects :

Every resource object MUST contain an id member and a type member. The values of the id and type members MUST be strings.