Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle multi-level nested messages #5

Merged
merged 3 commits into from
Feb 7, 2023
Merged

Conversation

britzl
Copy link
Contributor

@britzl britzl commented Feb 7, 2023

No description provided.

@@ -4,6 +4,7 @@
members:

{{#messages}}
{{^nested}}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't generate API ref for all messages. Match what we generate in the cpp code

@@ -16,25 +16,28 @@ def log(*args):
print(*args, file=sys.stderr)


def traverse(proto_file):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed iterator and simplified to a returned list. Probably uses more memory but is easier to reason about.

@britzl britzl merged commit bae1feb into master Feb 7, 2023
@britzl britzl deleted the dev-fix-nested-messages branch February 7, 2023 22:31
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