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

Validate the child struct when its an interface #293

Merged
merged 2 commits into from Jul 20, 2018

Conversation

beornf
Copy link
Contributor

@beornf beornf commented Jul 18, 2018

This PR validates the inner struct when its passed onto a field that is defined as an interface. The current implementation only checks for child structs that are pointers.

@asaskevich asaskevich merged commit 25610ce into asaskevich:master Jul 20, 2018
@asaskevich
Copy link
Owner

Nice, thank you!

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 this pull request may close these issues.

None yet

2 participants