Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow creating an empty Params instance. #63

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

LukeMathWalker
Copy link
Contributor

Custom 404 handlers might expect an instance of Params. Since no route was found, I'd like to pass an empty list, but there is no public constructor to build one. Hence this PR!

@ibraheemdev
Copy link
Owner

This seems reasonable, thanks!

@ibraheemdev ibraheemdev merged commit 7e422d9 into ibraheemdev:master Nov 7, 2024
5 checks passed
@ibraheemdev
Copy link
Owner

Released in 0.8.5.

@LukeMathWalker LukeMathWalker deleted the params-new branch November 8, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants