FSharp.JsonApi 2.0.0-alpha-01

Use F# to create and consume flexible, strongly typed web APIs following the JSON-API specification.

This is a prerelease version of FSharp.JsonApi.
There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package FSharp.JsonApi -Version 2.0.0-alpha-01
dotnet add package FSharp.JsonApi --version 2.0.0-alpha-01
<PackageReference Include="FSharp.JsonApi" Version="2.0.0-alpha-01" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FSharp.JsonApi --version 2.0.0-alpha-01
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Breaking: Removed SimpleResource and related methods/extensions on JsonApiContext. Use Resource.attributesOrDefault and Resource.relationshipsOrDefault instead to get a (possibly default) attribute/relationship instance from a resource.
- Breaking: Added RequestDocumentError.UnknownMainResourceType
- Breaking: JsonApiContext.GetResource and the JsonApiContext.Parse overload returning a resource discriminator now return errors if the resource type is unknown. The signature of the former method is changed; the latter is a behaviour change only.
- Added JsonApiContext methods RequireResource, WithAllReadOnly, ToDiscriminator, and FromDiscriminator
- Added JsonApiContext overloads for ParseRequired, WithReadOnly, WithWriteOnly, and WithNotNull

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.0-alpha-09 18 10/17/2019
2.0.0-alpha-08 27 10/14/2019
2.0.0-alpha-07 23 10/11/2019
2.0.0-alpha-06 39 10/9/2019
2.0.0-alpha-05 34 9/26/2019
2.0.0-alpha-04 34 9/26/2019
2.0.0-alpha-03 86 9/24/2019
2.0.0-alpha-02 36 9/23/2019
2.0.0-alpha-01 37 9/19/2019
1.4.1 35 9/26/2019
1.4.0 46 9/16/2019
1.3.0 52 9/12/2019
1.2.0 48 9/12/2019
1.1.0 49 9/11/2019
1.0.3 52 9/10/2019
Show less