-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add "filter" parameter to "find" endpoints
Modify the CLI template and example controllers to accept a new filter argument, leveraging the recently added `@param.query.object()` and Filter schema. Rename the controller-method argument accepting model data from `${controllerName}` to `data` (e.g. `data` instead of `TodoController`). I think this was an oversight in the implementation of the REST Controller template. Update the code snippets in documentation that are showing controller classes to match the actual code used in the examples and produced by our `lb4 controller` command.
- Loading branch information
Showing
15 changed files
with
417 additions
and
94 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
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
Oops, something went wrong.