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

Reject non-symbol keys {Hash,Schema}#schema #376

Closed
flash-gordon opened this issue Dec 12, 2019 · 2 comments
Closed

Reject non-symbol keys {Hash,Schema}#schema #376

flash-gordon opened this issue Dec 12, 2019 · 2 comments

Comments

@flash-gordon
Copy link
Member

Sometimes people use string keys in schemas and it (surprisingly) works in some cases. However, we only support symbols as keys, any other types show throw a meaningful error.

@flash-gordon
Copy link
Member Author

ref dry-rb/dry-struct#136

@solnic
Copy link
Member

solnic commented Dec 13, 2019

Shouldn't this be labeled as bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants