[Feature]: Improve type predicates
sbonami opened this issue Β· comments
π Feature Proposal
The type predicates are at present only checking for undefined properties, but they could be more specific. Additional checks within the predicate would include: type validation, enum validation, and nesting (Resource within Query).
Additionally, the MillieJS library should perform an invariant check of user inputs, and IncrementalStore should perform invariant checks of store inputs.
Motivation
To ensure the application is operating accurately and to provide specific feedback in moments where provided data is incorrect.
Example
No response
Pitch
The only way to achieve this is to add it to the core