Support nested map messages in valdi_protobuf/web/test/NamespaceGenerator.spec.ts
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start with the skipped xit spec in src/valdi_modules/src/valdi/valdi_protobuf/web/test/NamespaceGenerator.spec.ts, then read the web namespace generator in the sibling web/ directory to see how scalar fields are built. Add map field support, including message values, and run bazel test //src/valdi_modules/src/valdi/valdi_protobuf:valdi_protobuf_web_test. Done when the spec is it and passes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The spec supports nested map messages in monkey patched js namespace in src/valdi_modules/src/valdi/valdi_protobuf/web/test/NamespaceGenerator.spec.ts is skipped with xit and the comment "Does not yet work".
It creates a test.MapMessage through getTypedMessageNamespace with two map fields:
stringToDouble(Map<string, number>)stringToMessage(Map<string, message>)
It expects both fields to come back as Map instances, and the nested value to be a ValdiMessage with its fields set. Map fields, and message values inside maps, aren't supported yet in the web namespace generator.
What to do: add map field support (including message values) to the web protobuf namespace generator in src/valdi_modules/src/valdi/valdi_protobuf/web/, then change xit back to it.
How to run
bazel test //src/valdi_modules/src/valdi/valdi_protobuf:valdi_protobuf_web_test
Done when: the spec runs as it and passes.
See CONTRIBUTING.md before opening a pull request.
- Ngôn ngữ chính
- C++
- Star
- 16.4k
- Fork
- 538
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Snapchat/Valdi
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Add first tests for valdi_rxjsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Snapchat/Valdi#215 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Snapchat/Valdi
Issue tương tự
-
clang:frontend clang:openmp crash
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
llvm/llvm-project#245442 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ai_p1 comp-sql-syntax
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
ClickHouse/ClickHouse#133888 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
api: firestore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
firebase/firebase-ios-sdk#17105 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 66/100