diff --git a/README.md b/README.md index 95648a2..a1ddf3a 100644 --- a/README.md +++ b/README.md @@ -85,16 +85,17 @@ Note that Playground support for importing non-system Frameworks is still a bit - [x] `href` - [x] `meta` -### Entity Validator (using reflection) -- [x] Disallow optional array in `Attribute` (should be empty array, not `null`). -- [x] Only allow `TransformedAttribute` and its derivatives within `Attributes` struct. -- [x] Only allow `ToManyRelationship` and `ToOneRelationship` within `Relationships` struct. - ### Misc - [x] Support transforms on `Attributes` values (e.g. to support different representations of `Date`) - [x] Support validation on `Attributes`. - [ ] Create more descriptive errors that are easier to use for troubleshooting. +### JSONAPITestLib +#### Entity Validator +- [x] Disallow optional array in `Attribute` (should be empty array, not `null`). +- [x] Only allow `TransformedAttribute` and its derivatives within `Attributes` struct. +- [x] Only allow `ToManyRelationship` and `ToOneRelationship` within `Relationships` struct. + ### Potential Improvements - [ ] (Maybe) Use `KeyPath` to specify `Includes` thus creating type safety around the relationship between a primary resource type and the types of included resources. - [ ] (Maybe) Replace `SingleResourceBody` and `ManyResourceBody` with support at the `Document` level to just interpret `PrimaryResource`, `PrimaryResource?`, or `[PrimaryResource]` as the same decoding/encoding strategies.