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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 [Feature]: locals accepts interface{} for key #2143

Closed
3 tasks done
pjebs opened this issue Oct 6, 2022 · 2 comments 路 Fixed by #2144
Closed
3 tasks done

馃殌 [Feature]: locals accepts interface{} for key #2143

pjebs opened this issue Oct 6, 2022 · 2 comments 路 Fixed by #2144

Comments

@pjebs
Copy link
Contributor

pjebs commented Oct 6, 2022

Feature Description

Currently Locals accepts only a string for key.

Fasthttp has merged my PR to change uservalues to accept Interface{} for key: valyala/fasthttp#1387 (comment)

Additional Context (optional)

See valyala/fasthttp#1385 (comment)

Code Snippet (optional)

No response

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my suggestion prior to opening this one.
  • I understand that improperly formatted feature requests may be closed without explanation.
@efectn
Copy link
Member

efectn commented Oct 6, 2022

I think we can replace it after new Fasthttp version releases

@pjebs
Copy link
Contributor Author

pjebs commented Oct 7, 2022

@efectn PR complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants