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

environmentConfigs type enum #35

Open
reedjosh opened this issue May 4, 2024 · 1 comment
Open

environmentConfigs type enum #35

reedjosh opened this issue May 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@reedjosh
Copy link

reedjosh commented May 4, 2024

What happened?

...
type: selector
...

I didn't know the type should be capitalized. I spent a chunk of time trying to chase down the issue I was experiencing.

Turns out I should have capitalized Selector. 🙃

No rush, but for usability, doing some kind of input validation on what should be a binary enum would prevent the troubleshooting rabbithole I went down for a single char diff.

How can we reproduce it?

Be new to the function or just mistype the type of selector.

What environment did it happen in?

Function version: v0.0.7

@reedjosh reedjosh added the bug Something isn't working label May 4, 2024
@phisco
Copy link
Collaborator

phisco commented May 4, 2024

Related to: crossplane/crossplane#5094

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

No branches or pull requests

2 participants