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 a CustomModel is created, the object passed in to the Model constructor should be validated. Criteria should be as follows:
CustomModel
Model
type
endpoint
/
fetch
save
destroy
toObject
saved
__schema
__changed
relationships.field_name
relationships.field_name.data
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When a
CustomModel
is created, the object passed in to theModel
constructor should be validated. Criteria should be as follows:type
andendpoint
must be strings and cannot be missing.endpoint
should start with a/
and have only URL-safe characters.fetch
,save
,destroy
,toObject
,saved
__schema
,__changed
, etc.relationships.field_name
is correct;relationships.field_name.data
is not.The text was updated successfully, but these errors were encountered: