bytecodealliance / bytecodealliance/component-docs
A section on the implications of including worlds
- Ngôn ngữ chính
- Rust
- Star
- 137
- Fork
- 88
- Merge trung bình
- 5 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 4
Mô tả
In https://github.com/bytecodealliance/component-docs/issues/245 a user encountered a bump when trying to import functionality from `wasi:http` that I'd guess will occur again.
Not sure if this belongs in the subsection on worlds, since it could also be part of https://github.com/bytecodealliance/component-docs/issues/240, or there could perhaps be a section that pertains to all guest languages, as it probably isn't unique to the rust experience.
The user included `wasi:http/proxy` and didn't realize that they would have to implement the interfaces exported by it, as they were really only after importing the functionality that that world provided, and had no intention of authoring a component that exported any of it's functionality. Ideally we would clearly inform users to reserve `include` usage for when they want to define a world that is a superset of another.
Hướng dẫn đóng góp
Hướng nghiên cứu
Đọc các issue #245 và #240 được liên kết cùng với tiểu mục hiện có về worlds để hiểu sự nhầm lẫn đã được báo cáo xoay quanh việc đưa wasi:http/proxy vào. Công việc được xem là hoàn tất khi tài liệu giải thích rõ rằng include dùng để định nghĩa một world siêu tập và phân biệt giữa việc import chức năng với việc triển khai các interface được export.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- rust, wasm
- Lĩnh vực
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100