Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Typos
  • Loading branch information
fischor committed Nov 20, 2023
commit 952442daf59747c9d176ceea992b97c4de379bc1
2 changes: 1 addition & 1 deletion samples/protoc-gen-extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ With that the extension values can be accessed by the plugin.
Each option added to a proto Method will be present as a field its `Method.proto.options`.
Each `Method.proto.option` has a `number` field that corresponds to the field number that was assigned to the extension.
This way one can identify to which extension a `Method.proto.option` belongs.
See [Line 24 and 25](./samples/protoc-gen-extensions/plugin.py#L24-L25) in the example plugin.
See [Line 24 and 25](./plugin.py#L24-L25) in the example plugin.

The mechanism to access options for proto Messages, Fields etc. is similar.

Expand Down