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

Fixed root config from being generated with raw packets when codegenning with raw(true) #360

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

jsoverson
Copy link
Contributor

If you build the codegen with raw(true) to get access to unprocessed packets, it will generate RootConfig with Packets instead of decoded values. This wouldn't be a deal breaker if RootConfig didn't need to be default-capable.

This needs a better solution in the long run. This is a bit of a hack but highlights more of how codegen needs to be refactored to account for new usage.

@jsoverson
Copy link
Contributor Author

CI will fail due to rate limits so I'm bypassing restrictions to get this in.

@jsoverson jsoverson merged commit 4c18eff into main Jul 7, 2023
4 checks passed
@jsoverson jsoverson deleted the raw-codegen branch July 7, 2023 22:00
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