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
When creating a Schema with a field named 'parent', an error is given along the lines of:
Schema
'parent'
TypeError: Cannot read property 'states' of undefined
For example:
var schema = new Schema({ parent: String });
The text was updated successfully, but these errors were encountered:
thanks for the report. tracking in #528
Sorry, something went wrong.
fix conflicting schema paths
1975355
an error is throw an schema construction time if a reserved pathname is added to a schema. closes #928
fix(schema): allow modelName as a schema path, since modelName is…
modelName
80da558
… a static property on models Fix #7967 Re: 1975355 Re: #928
No branches or pull requests
When creating a
Schema
with a field named'parent'
, an error is given along the lines of:For example:
The text was updated successfully, but these errors were encountered: