Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@a8m
Copy link
Member

@a8m a8m commented Jun 24, 2022

Fixed #2685

@rotemtam rotemtam changed the title entc/gen: use gotypw pkgname as alias in case it does not match pkgpath entc/gen: use gotype pkgname as alias in case it does not match pkgpath Jun 24, 2022
@rotemtam
Copy link
Contributor

Maybe add a test?

@a8m
Copy link
Member Author

a8m commented Jun 24, 2022

Maybe add a test?

Definitely, working on it. See #2685 (comment) 😎

@a8m a8m merged commit 6ddeb93 into master Jun 25, 2022
@a8m a8m deleted the importalias branch June 25, 2022 08:05
@a8m
Copy link
Member Author

a8m commented Jun 25, 2022

Thanks for the review @rotemtam

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.

Invalid imports created when generating code for an object using more than one goType

3 participants