Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Improve type predicates #83

Open
sbonami opened this issue May 27, 2023 · 0 comments
Open

[Feature]: Improve type predicates #83

sbonami opened this issue May 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@sbonami
Copy link
Owner

sbonami commented May 27, 2023

🚀 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

@sbonami sbonami added the enhancement New feature or request label May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant