-
Notifications
You must be signed in to change notification settings - Fork 245
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(go): shorten file names for sub-packages #3927
Conversation
I have a hard time updating the snapshots 🙈 Can someone help me out here? |
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.
To update snapshots, you should just be able to run yarn test:update
), | ||
false, | ||
); | ||
emit.call(this, join(this.directory, `${type.name}__checks.go`), false); |
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.
Does this not risk collisions if two namespaces have the same leaf type name?
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.
No, they are in nested folders
b278c77
to
d9aa9ba
Compare
d9aa9ba
to
5ff6c7b
Compare
Pull request has been modified.
Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it! |
Merging (with squash)... |
CDKTF is running into build issues one some providers due to file names being too long for golang to handle: https://github.com/cdktf/cdktf-provider-googlebeta/actions/runs/4002506018/jobs/6869839656#step:8:11
This is my slightly naive try to get rid of a few characters (especially with long package names)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.