JSONAPI
JSONAPI copied to clipboard
Swift Codable JSON:API framework
Is it possible to have **optional** included data, similar to how attributes or relationships can be optional? We have a request to accommodate a situation where **included resource objects** may...
**Describe the bug** Getting a compile warning on Attribute.swift on line 39 for extension TransformedAttribute "Redundant conformance constraint 'Transformer' : 'Transformer'. **Platform (only for runtime bugs):** MacOS 11.0.1 Xcode 12.2...
Exploration started here: https://github.com/mattpolzin/JSONAPI/tree/feature/transformed-property This project is on hold until property wrapper chaining (or nesting) is supported (likely Swift 5.2). The idea I am pursuing is to replace `Attribute`/`TransformedAttribute` with...
Another way to think of this is "the JSON Document object is told about all types of includes it should expect, so if we fail to parse any of the...
Hi Matt, We are using this library intensively. However, one thing that is very cumbersome somehow, is working with relationships and included object. We are looking for way to expose...
### Changes Allow ToManyRelationship to have no `data`. Make an early exit early from the initializer by setting an empty array to `idsWithMeta` if the container has no `data` key....
Is there any way to handle response with 204 which have empty response (mean no data in response just returning with 204 status code)?
Hello, First, thank you a lot for your amazing library @mattpolzin ! I don't know all the JSON::API v1.1 additions, but the `lid` member seems very interesting: > The id...
https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api
Code coverage was being done via Bitrise CI until the latest release. I stopped using Bitrise because it was not adding value to this particular project. I'd like to have...