buf.gen.yaml option to set the path to output a file descriptor set

Đang mở
#4,784 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
cli

Hướng nghiên cứu

The request concerns buf generate and buf.gen.yaml; the payload does not name implementation files or tests. Start by reading the generate command and its configuration handling, then trace how generated outputs are written. Done means buf.gen.yaml can configure an output path for a file descriptor set alongside generated code.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Feature
Feature

Currently generating a file descriptor set with buf requires a separate buf build, but in many use cases the FDS is just one piece along with the generated code, for example to reference while using reflection on the generated code to have access to source code info, for example to implement grpcreflect. Many users also miss the existence of buf build entirely since buf generate is the main command in documentation. Having a very convenient way to get file descriptor sets within the standard buf generate command can be an alternative to every language plugin having an option to expose source code info in generated descriptors, as request in https://github.com/bufbuild/protobuf-py/issues/71 https://github.com/bufbuild/protobuf-es/issues/1319

Ngôn ngữ chính
Go
Star
11.5k
Fork
372
Merge trung bình
18 giờ 42 phút
Pull request đã merge (30 ngày)
31

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bufbuild/buf

Tất cả issue của bufbuild/buf

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.