We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Feature req. console warning if a define option not found (lib/resourceful/definers.js) eg.: Creature.property('life', Number, { default: 10, min: 0, max: 20 }); should be: Creature.property('life', Number, { default: 10, minimum: 0, maximum: 20 });
A warning i dev mode? could be nice saying: "'life' Number property option 'min: 0' not recognized"
The text was updated successfully, but these errors were encountered:
+1 This is a simple fix that would help a lot. Will add.
In the near future, we will be adding more tools and documentation to help with the creation of resource definitions.
Thanks for feedback.
Sorry, something went wrong.
Tangentially related issue #115 , since it seems we'd need a list of defined options to check against.
No branches or pull requests
Feature req.
console warning if a define option not found (lib/resourceful/definers.js)
eg.:
Creature.property('life', Number, { default: 10, min: 0, max: 20 });
should be:
Creature.property('life', Number, { default: 10, minimum: 0, maximum: 20 });
A warning i dev mode? could be nice saying: "'life' Number property option 'min: 0' not recognized"
The text was updated successfully, but these errors were encountered: