You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Record class is invoked to create a record instance, ie: recordInstance = store.add({ ... }). One of the limitations with v3 Record class is that it's not easily extended or changed to meet the needs of custom applications. One of these issues is the inability to do this on a record: JSON.stringify(record) and requires the method call record.toJSON() instead.
The
Record
class is invoked to create arecord
instance, ie:recordInstance = store.add({ ... })
. One of the limitations with v3 Record class is that it's not easily extended or changed to meet the needs of custom applications. One of these issues is the inability to do this on a record:JSON.stringify(record)
and requires the method callrecord.toJSON()
instead.The
Schema
class is used on aRecord
instance to perform validations when the Mapper has a defined schema. https://www.js-data.io/docs/validation#section-defining-a-schemaThe concerns with
Schema
:The text was updated successfully, but these errors were encountered: