JsonApiDotNetCore
JsonApiDotNetCore copied to clipboard
Support for various data types of resource attributes and id
Resources with attributes of various data types should be thoroughly tested. The following data types should be considered:
- DateTime, DateTimeOffset, TimeSpan, DateOnly, TimeOnly
- decimal, double, float
- signed and unsigned: int, long, short, byte
- guid
- bool
- string, char
- enum
- tuples
- collections
- complex attributes
Also take into consideration:
- nullability of above types where applicable
- all EF Core supported datatypes for identifying keys should be considered
- see https://swagger.io/docs/specification/data-models/data-types/
~Also address the following: When using Identifiable<TId> where TId is other than string, eg int, the generated client will have its id parameter typed as int in methods, which is incorrect: it should always be string.~
Should include support for DateOnly and TimeOnly, which were added in .NET 6.