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

Add a "Hint Mask" construct #52

Closed
Baccata opened this issue Jan 16, 2022 · 1 comment
Closed

Add a "Hint Mask" construct #52

Baccata opened this issue Jan 16, 2022 · 1 comment

Comments

@Baccata
Copy link
Contributor

Baccata commented Jan 16, 2022

We use the same Schematic implementation in various protocols/usecases. One problem is some protocols might not be aware of some hints. For instance, AWS' RestJson is unaware of discriminated unions. We should be able to pass hint masks to Schematic implementations, that would be used in the withHints method, preventing the discovery (and associated behaviour) of irrelevant hints.

@kubukoz
Copy link
Member

kubukoz commented Jan 26, 2022

Implemented in #70

@kubukoz kubukoz closed this as completed Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants