Skip to content

Releases: vapor-tools/vapor-jsonapi

Add edit resource route

13 May 17:29
Compare
Choose a tag to compare
Pre-release

Editing a resource is now possible with a patch request. E.g.: PATCH /articles/5

Add missing prefix to droplet route group

11 May 20:34
Compare
Choose a tag to compare

Add route prefix for get group inside the VaporJsonApi Droplet extension.

Add getRelationships function and route

11 May 20:27
Compare
Choose a tag to compare
Pre-release

Add getRelationships as described in the jsonapi documentation.

Implement relationship findInModel into resource creation

11 May 17:41
Compare
Choose a tag to compare

Use findInModel in order for relationship adding to work properly in the resource creation.

Add findInModel function to relationship models

11 May 17:31
Compare
Choose a tag to compare

It was not possible to call find on the type stored in parent, children and siblings model as static functions are statically dispatched. Added a findInModel function to relationships in order to be able to use this function.

First usable POST route

10 May 20:17
Compare
Choose a tag to compare
Pre-release

Implemented the first post route with resource creation and relationship creation.

Finalize current relationship structure

10 May 14:06
Compare
Choose a tag to compare
Pre-release

This is the finalized draft of the relationship structure as it should be for the next few versions (hopefully...)

Change Parent Model structure

10 May 09:06
Compare
Choose a tag to compare
Pre-release

Changed the structure of Parent Model again...

Debug messages

10 May 08:09
Compare
Choose a tag to compare
Debug messages Pre-release
Pre-release

This is just a version with more debug messages

Fix type fetching for resource creation

10 May 21:41
Compare
Choose a tag to compare
Pre-release

The type value was fetched from the top level instead of the data object. Fixed that in this release.