Skip to content

Conversation

@MarcusLongmuir
Copy link

Fixes #1072 <- Full explanation of the feature request in this issue.

TL;DR for the above issue - To enable usage of custom options in descriptors being decoded with fromDescriptor you need to be able to override the google.protobuf namespace used to decode a FileDescriptorSet with one that has the extensions of the MessageOptions defined. You also need to have the resulting descriptor use camelCased field names as that's what the fromDescriptor code uses (they come from the JSON field names in descriptor.json).

I understand this is an experimental feature at the moment and there isn't much test coverage for this as far as I can tell, but I'm happy to add tests for this if someone can describe how they should work.

@MarcusLongmuir MarcusLongmuir changed the title Enable overriding descriptor in fromDescriptor Enable overriding google.protobuf namespace in fromDescriptor Jun 22, 2018
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.

1 participant