-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
🚀 [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: