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

Make support for record validation explicit #267

Closed
gunnarmorling opened this issue Oct 20, 2022 · 1 comment · Fixed by #275
Closed

Make support for record validation explicit #267

gunnarmorling opened this issue Oct 20, 2022 · 1 comment · Fixed by #275
Assignees

Comments

@gunnarmorling
Copy link
Contributor

Probably doesn't require much, as validation pretty much "Just works" for records, too. But it would still be nice to make it explicit in the spec, have some examples, state that the constructor components should be annotated, etc.

Another question is how to trigger validation of records, as it essentially requires hooking into constructor calls, e.g. via byte code weaving. I've explored this a while ago here.

@gunnarmorling
Copy link
Contributor Author

/CC @gsmet, @ivargrimstad

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

Successfully merging a pull request may close this issue.

2 participants