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]: add envvar expose middleware #2054
馃殌 [Feature]: add envvar expose middleware #2054
Conversation
Thanks for opening this pull request! 馃帀 Please check out our contributing guidelines. If you need help or want to chat with us, join us on Discord https://gofiber.io/discord |
Please update awesome-fiber and https://github.com/gofiber/fiber#-internal-middleware |
All done 馃憤 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dont forget adding middleware section to other READMEs
Check actions please. Lgtm |
I changed |
please check again the methods of envvar (some of them are not use and lowercase -> so not exposed ) can you please also provide a better example and link where such functionality is used in other languages or frameworks so i can better understand the use of middleware |
Well, I quickly searched but could not find an exact example of this. People are trying to reimplement their middleware/components for this work. We always wonder about our env vars that contain feature flags too in our APIs. |
Congrats on merging your first pull request! 馃帀 We here at Fiber are proud of you! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord |
Description
This pr adds environment variable expose middleware.
Fixes #2053
Type of change
Please delete options that are not relevant.
Checklist: