Protobuf: Generate Descriptor For Proto Messages in Javascript.

Created on 14 Feb 2018  路  2Comments  路  Source: protocolbuffers/protobuf

I'm trying to generate the descriptor for proto messages in Javascript so that i can use the field names to create Dynamic Forms.

Java has a '.getDescriptor()'. Is there any equivalent in Javascript. Any Pointers would be helpful.

Thanks.

enhancement javascript

Most helpful comment

@dankurka @TeBoring @BSBandme - there are a number of requests for descriptor and JSON format in JS. We should look into them.

All 2 comments

Descriptor/reflection is not supported in Javascript at the moment.

@dankurka @TeBoring @BSBandme - there are a number of requests for descriptor and JSON format in JS. We should look into them.

Was this page helpful?
0 / 5 - 0 ratings