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

✨ Do not allow creating modules with reserved names #7373

Open
sagikazarmark opened this issue May 14, 2024 · 2 comments
Open

✨ Do not allow creating modules with reserved names #7373

sagikazarmark opened this issue May 14, 2024 · 2 comments

Comments

@sagikazarmark
Copy link
Contributor

What are you trying to do?

dagger init --sdk go --name module --source .

Why is this important to you?

Go complains about the name Module being redeclared.

How are you currently working around this?

I don't use that name, but I'm guessing other names might be affected too.

@helderco
Copy link
Contributor

@sagikazarmark
Copy link
Contributor Author

From what I can tell, those are rather about finding a solution to resolve name conflicts. This is a proposal for the CLI (a low-hanging fruit if you will) to disallow generating modules like that in the first place.

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

No branches or pull requests

2 participants