Closed
Description
DESCRIPTION
The JSON:API specification has been updated to require what we did for sparse fieldsets in #996 to also apply for includes.
STEPS TO REPRODUCE
- Create a custom resource definition that silently includes a relationship
- Execute GET request with query string
?include=
EXPECTED BEHAVIOR
The response body contains either an empty include
array or omits it entirely.
ACTUAL BEHAVIOR
HTTP 400 Bad Request.
VERSIONS USED
- JsonApiDotNetCore version: 5.0.3
- ASP.NET Core version: 6.0
- Entity Framework Core version: N/A
- Database provider: N/A