Sorry if it's poor etiquette to open issues on beta releases, but here's my setup:
PHP: 7.4.4
Laravel: 7.11.0
laravel-json-api: v2.0.0-beta.3
I am making a POST request to a resource with many-to-many relationship data included.
Records in the post_tags table are being inserted correctly.
However the response does not contain the Tags relationship, even if I post to /posts?include=tags
Sorry if it's poor etiquette to open issues on beta releases, but here's my setup:
I am making a POST request to a resource with many-to-many relationship data included. Records in the post_tags table are being inserted correctly. However the response does not contain the Tags relationship, even if I post to
/posts?include=tags
POST:
Response:
Requests to GET /posts/205?include=tags work correctly:
Is this normal behavior? The documentation makes it seem like the relationship should be returning (under "Supported Query Parameters"): https://laravel-json-api.readthedocs.io/en/latest/crud/creating/
Thank you