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 argument to RecordType constructor #31

Merged
merged 1 commit into from Feb 10, 2016

Conversation

davidchambers
Copy link
Member

@soroushjp wrote some code earlier today which exploded and was difficult to diagnose. He mistakenly used {…} rather than $.RecordType({…}) as a value in an object provided to $.RecordType. This pull request adds a check for such errors, making them easy to diagnose and correct.

@soroushjp
Copy link

LGTM @davidchambers

davidchambers added a commit that referenced this pull request Feb 10, 2016
validate argument to RecordType constructor
@davidchambers davidchambers merged commit 91f154d into master Feb 10, 2016
@davidchambers davidchambers deleted the dc-validate-fields branch February 10, 2016 23:59
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