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

refactor the imports to its own world #100

Merged
merged 4 commits into from
Feb 11, 2024
Merged

refactor the imports to its own world #100

merged 4 commits into from
Feb 11, 2024

Conversation

Mossaka
Copy link
Collaborator

@Mossaka Mossaka commented Feb 8, 2024

This PR factors out the imported APIs of http proxy to its own world, following the convention from other wasi proposals (e.g. https://github.com/WebAssembly/wasi-cli/blob/main/wit/imports.wit).

The intention of the wasi:http/imports world is to be included into other worlds such as wasi:http/proxy and wasi:cloud-core/imports.

Suprisingly, I wasn't expecting there to be such a huge change to the markdown files. It seems like part of the reason is that the imported interfaces are unordered?

Signed-off-by: Jiaxiao Zhou (Mossaka) <duibao55328@gmail.com>
Signed-off-by: Jiaxiao Zhou (Mossaka) <duibao55328@gmail.com>
Copy link
Member

@lukewagner lukewagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

wit/proxy.wit Outdated Show resolved Hide resolved
Mossaka and others added 2 commits February 8, 2024 18:09
Co-authored-by: Luke Wagner <mail@lukewagner.name>
Signed-off-by: Jiaxiao Zhou (Mossaka) <duibao55328@gmail.com>
@Mossaka Mossaka merged commit 37b91f4 into main Feb 11, 2024
1 check passed
@Mossaka Mossaka deleted the imports branch February 11, 2024 02:33
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