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

Generate assertion for Object Type Application #17

Merged
merged 2 commits into from
Jan 18, 2017

Conversation

victor-homyakov
Copy link
Contributor

@victor-homyakov victor-homyakov commented Jan 18, 2017

Generate assertion for @param Object<string, someType> to check that all object values are of someType

close #16

case "NullableType":
return NullableType(node, generator);
case "NonNullableType":
return NonNullableType(node, generator);
Copy link
Owner

@azu azu Jan 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add default: return; case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@victor-homyakov victor-homyakov force-pushed the assertion-for-object-type-application branch from 10ed055 to 890134f Compare January 18, 2017 08:59
@azu
Copy link
Owner

azu commented Jan 18, 2017

Ok. I'll merge it soon.

@azu azu merged commit 1a0625b into azu:master Jan 18, 2017
@azu
Copy link
Owner

azu commented Jan 18, 2017

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.

Generate assertion for Object Type Application?
2 participants