-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transform support when creating models on-the-fly
Now when you use reste.createModel, it will add a default transform (toJSON) — this can be overridden if the model is defined in config and has a transform function there.
- Loading branch information
1 parent
acc1eb3
commit 5d1cc50
Showing
1 changed file
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters