-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
enhancementNew feature or requestNew feature or requestjavascriptjsontriagedIssue has been triagedIssue has been triaged
Description
The comment for jspb.Message.GENERATE_FROM_OBJECT states:
* NOTE: By default no protos actually have a fromObject method. You need to
* add the jspb.generate_from_object options to the proto definition to
* activate the feature.
However, no such option is currently implemented in the open sourced version. I see the code which generates output for this option (GenerateClassFromObject
) but it is invoked 0 times.
~/protobuf$ grep -r GenerateClassFromObject .
./src/google/protobuf/compiler/js/js_generator.cc:void Generator::GenerateClassFromObject(const GeneratorOptions& options,
./src/google/protobuf/compiler/js/js_generator.h: void GenerateClassFromObject(const GeneratorOptions& options,
Can the jspb.generate_from_object option be open sourced?
gae123, mcos, jonnyreeves, lynndotconfig, czzhengkw and 99 morepaambaati, hexnickk, colq2, nwparker, RDevR99 and 7 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestjavascriptjsontriagedIssue has been triagedIssue has been triaged