Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish reference target collection for all constraints (#239)
* decoder: Finish implementing reference targets for List * decoder: Finish implementing reference targets for Set * decoder: Finish implementing reference targets for Tuple * decoder: Avoid collecting non-addressable attributes as targets in List * decoder: Avoid collecting non-addressable attributes as targets in Tuple * decoder: Finish implementing reference targets for Map * decoder: Finish implementing reference targets for Object * decoder: Collect undeclared attributes in Object as targets too * decoder: Use AttrStep syntax to target Object attributes if possible * decoder: Account for (Def)Ranges of attributes * decoder: Collect primitive type targets correctly in LiteralType * decoder: Collect 'any' type by inferring it from value (LiteralType/OneOf) * decoder: fix block body inferred target collection * decoder: Account for JSON in ref. targets for LiteralType * decoder: Account for JSON keys in rawObjectKey * decoder: Account for JSON when collecting targets for Map/Object * decoder: Add tests for reference targets (OneOf) * decoder: Account for legacy JSON syntax in Reference * schema: Fix typo in validation error * decoder: Only pass TargetContext when there are targets to collect * decoder: Add tests for reference targets (List) * decoder: Add tests for reference targets (Set) * decoder: Add tests for reference targets (Tuple) * decoder: Add tests for reference targets (Object) * decoder: Add tests for reference targets (Map) * decoder: Add tests for reference targets (LiteralType)
- Loading branch information