Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Initial support for adding codegen for interaction model #4298
Initial support for adding codegen for interaction model #4298
Changes from 8 commits
ce94756
985c180
2b6955c
9c96f22
a36e832
8025933
0495551
d68c569
d4c885f
8bd2e32
0fc9435
22d4b27
ad17020
3575e10
99f183c
b07106c
19a979e
2821af0
4793938
f908c8a
53b6c53
d943b36
464cdb3
375bd5e
6c9cd33
bfa1bec
8c55141
39a7ea5
b3ac301
0f77b89
f91173a
1d62044
bc8d316
2af3084
30ec612
f36d0c7
e51686b
9ee85c8
1d6d2ac
a44c5d2
cea3c04
4193657
8072f39
23de978
3a995e0
8a007c1
5d7370f
49ceaf9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use a macro or something else for both the footer and the header ? The only thing that changes here is some ids that can be passed as parameters. It would make the generated code easier to read for humans.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want to use macros in this part.
These lines are not bounded logically, for example, line 27, 28 gets the command object and then the writer object, line 30 and 32 creates a struct in tlv. The spacing in generated files and the loop tag in template should be enough.