Skip to content

Add editions support#40

Open
AdrienVannson wants to merge 4 commits into
connectrpc:mainfrom
AdrienVannson:implement-editions
Open

Add editions support#40
AdrienVannson wants to merge 4 commits into
connectrpc:mainfrom
AdrienVannson:implement-editions

Conversation

@AdrienVannson
Copy link
Copy Markdown

Fix #37 (I noticed during triage that this issue seems straightforward to fix so I had a quick look)

This allows generating code for proto files using editions. Editions are a protobuf feature, so I don't expect any impact on this connect lib.

This consists mostly of marking editions as supported in the CodeGeneratorResponse. I also added a test to compile an edition file and make sure the flags are set correctly, and updated buf.

I tested editions locally by running the eliza example after converting the proto file to editions: everything works correctly with the changed proposed by this PR.

Signed-off-by: Adrien Vannson <avannson@buf.build>
Signed-off-by: Adrien Vannson <avannson@buf.build>
Signed-off-by: Adrien Vannson <avannson@buf.build>
Signed-off-by: Adrien Vannson <avannson@buf.build>
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.

plugin "buf.build/connectrpc/dart" does not support feature "supports editions"

1 participant