NJsonApiCore icon indicating copy to clipboard operation
NJsonApiCore copied to clipboard

A .NET Core / 4.6.2 implementation of the {json:api} specification http://jsonapi.org/

Results 19 NJsonApiCore issues
Sort by recently updated
recently updated
newest added

Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 9.0.1 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...

dependencies

Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 9.0.1 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...

dependencies

JsonApiActionFilter checks for a successful status code on the HttpActionExecutedContext context, but then always returns a 200 OK response code. In some cases it is useful to be able to...

bug

For the moment, nullable types when they have no value are serialized as empty strings. IMHO, they should not appear at all on the response.

As per spec, an attribute, even when not a simple value, doesn't have to be a resource: http://jsonapi.org/format/#document-resource-object-attributes I would like to request an extension when an attribute can produce...

enhancement

As per definition of meta object: http://jsonapi.org/format/#document-meta it would be nice to have support for meta object for resources: (resource and relationships) http://jsonapi.org/format/#document-resource-objects top level: http://jsonapi.org/format/#document-top-level resource identifier objects: http://jsonapi.org/format/#document-resource-identifier-objects...

enhancement

When you POST a document that uses the C# type `DateTimeOffset`, you will receive a 500 error, internally this is an `InvalidCastException`. GET works fine as this is a simpler...

bug

It must be possible to build a resource that has get properties, which you cannot set (such as calculated properties). If the client tries to change the "get only" properties...

enhancement

As per the spec: > If a relationship is provided in the relationships member of the resource object, its value MUST be a relationship object with a data member. The...

bug

As per jsonapi spec: http://jsonapi.org/format/#fetching-relationships I tried to fetch related resources using /articles/id/relationships/author in the given example and it seems it couldn't get it work. I tried to look at...

enhancement
question