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(proxy): add config to proxy world #130

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feat(proxy): add config to proxy world #130

wants to merge 1 commit into from

Conversation

Mossaka
Copy link
Collaborator

@Mossaka Mossaka commented Sep 10, 2024

As stated in #116, http proxy has common use cases for reading configurations from an external provider or local environment variables. This PR adds wasi:config/[email protected] as an import to the Proxy world. Since wasi:config is still in phase 2 and this new feature is not discussed / approved in WASI meetings, it's behind the unstable gate.

CC @lukewagner for advocating it, and @yoshuawuyts for a review.

Signed-off-by: Jiaxiao Zhou (Mossaka) <[email protected]>
@lukewagner
Copy link
Member

Just to minimize churn (b/c inclusion in wasi:http/proxy may cause more code to start depending on it), do you suppose we could do wasi-runtime-config/#13 first?

@Mossaka Mossaka marked this pull request as draft September 12, 2024 20:16
@Mossaka
Copy link
Collaborator Author

Mossaka commented Sep 12, 2024

Blocking this PR until WebAssembly/wasi-config#13 is resolved

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