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

Fix importing structs from different package #9

Merged
merged 1 commit into from
Apr 21, 2022
Merged

Conversation

pgalic96
Copy link
Contributor

@pgalic96 pgalic96 commented Apr 20, 2022

When combining structs defined in different packages (ttipb / ttnpb) I've noticed that by using GoIdent.GoName the import paths for message structs are not considered (only message name is generated). With this PR this issue is fixed by using GoIdent directly.

Also added a small fix for a regression introduced in #8 where WKT Wrapper flags were always hidden.

@pgalic96 pgalic96 added the bug Something isn't working label Apr 20, 2022
@pgalic96 pgalic96 requested a review from htdvisser April 20, 2022 15:07
@pgalic96 pgalic96 self-assigned this Apr 20, 2022
@pgalic96 pgalic96 merged commit ff5e457 into main Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants