-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Constrain types for create(), update(), and selects * Exclude instance functions and entity collections * Only expect `primitive | Pick<T, ‘id’>` when creating, updating, or in where queries, rather than `primitive | T` * Shape query result types * Remove Entity and Entity[] types from property values for find(), findOne(), update(), and destroy() responses * Add Entity and Entity[] types when populate is called * Update npms **Breaking Change:** The change to create and update values expects a property called `id` on subclasses of `Entity`.
- Loading branch information
Showing
2 changed files
with
25 additions
and
14 deletions.
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
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