Strongly-typed JavaScript object with support for validation and error handling.
@prop
interface properties.getRoot
method to getAncestors
.enumerable
properties are not populatable and serializable.createModelClass
configuration interfaces.createModelClass
method to @rawmodel/core
.model.collect
, model.filter
, model.scroll
and prop.isModel
.model.flatten()
to return serialized data and support serialization strategies.createModelClass
method to create model classes from a JSON definition.null
or undefined
values anymore except special ones which verify presence.This is a completely new version of the RawModel package. Almost all the source code was refactored. Here are some of the major changes:
@rawmodel/core
).See https://github.com/rawmodel/framework/issues/27 for details.