Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
395ae4f7
Commit
395ae4f7
authored
Jun 21, 2018
by
Harvey Tuch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added TODO for grouping options.
Signed-off-by:
Harvey Tuch
<
htuch@google.com
>
parent
0584084b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
protostream_objectsource.cc
...google/protobuf/util/internal/protostream_objectsource.cc
+3
-0
No files found.
src/google/protobuf/util/internal/protostream_objectsource.cc
View file @
395ae4f7
...
...
@@ -648,6 +648,9 @@ Status ProtoStreamObjectSource::RenderAny(const ProtoStreamObjectSource* os,
// using a nested ProtoStreamObjectSource using our nested type information.
ProtoStreamObjectSource
nested_os
(
&
in_stream
,
os
->
typeinfo_
,
*
nested_type
);
// TODO(htuch): This is somewhat fragile, since new options may be omitted.
// We should probably do this via the constructor or some object grouping
// options.
nested_os
.
set_use_lower_camel_for_enums
(
os
->
use_lower_camel_for_enums_
);
nested_os
.
set_use_ints_for_enums
(
os
->
use_ints_for_enums_
);
nested_os
.
set_preserve_proto_field_names
(
os
->
preserve_proto_field_names_
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment