-
-
Notifications
You must be signed in to change notification settings - Fork 836
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add arrays of enums and enum callbacks for query params (#2096)
This adds support for the `callback` option in Choice constraint in QueryParams to allow providing enum choices at runtime. Also adds support for arrays of enums using the `multiple` QueryParam option. --------- Co-authored-by: indexxd <[email protected]> Co-authored-by: Djordy Koert <[email protected]>
- Loading branch information
1 parent
8f43de5
commit d590880
Showing
2 changed files
with
69 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
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