crossplane-contrib / crossplane-contrib/function-environment-configs

environmentConfigs type enum

Open
#35 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
28
Forks
25
Avg merge
5d 19h
Merged PRs (30d)
2

Description

### What happened?
``` yaml
...
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.