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

barrels doesn't convert to number #33

Open
smyth64 opened this issue Sep 29, 2015 · 0 comments
Open

barrels doesn't convert to number #33

smyth64 opened this issue Sep 29, 2015 · 0 comments

Comments

@smyth64
Copy link

smyth64 commented Sep 29, 2015

Hey there,
I am currently facing this problem when migrating with barrels.

Post.json

"title": "just awesome",
"rating": 125,

Error message

{ rating: 
   [ { rule: 'number',
       message: '`undefined` should be a number (instead of "125", which is a string)' } ],

This is weird because actually I entered the number not as a string.
Does anyone have an idea?

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

No branches or pull requests

1 participant