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

Generated buf generate dart code not having the comments #2675

Closed
arijit-sen opened this issue Dec 19, 2023 · 1 comment
Closed

Generated buf generate dart code not having the comments #2675

arijit-sen opened this issue Dec 19, 2023 · 1 comment

Comments

@arijit-sen
Copy link

Is there any way to keep the comments in the .proto file move to the generated dart file? I couldn't find any reference to the same, any help would be appreciated.

@mfridman
Copy link
Member

mfridman commented Dec 19, 2023

This is likely an issue with the code generator (plugin) itself and less an issue with the buf CLI.

I presume you're using https://github.com/google/protobuf.dart

There was existing work in the plugin to include comments, but afaik there's remaining work google/protobuf.dart#900. You may want to file or comment on an issue related to that project.

@bufdev bufdev closed this as completed Dec 27, 2023
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

No branches or pull requests

3 participants