grafana / kindsys

a kind system for schematizing objects
Apache License 2.0
12 stars 0 forks source link

Chore: Revert "Add EnsureNoExportedKindName check" #13

Closed undef1nd closed 1 year ago

undef1nd commented 1 year ago

Reverts this commit https://github.com/grafana/kindsys/commit/0aae3542d617e809e3313ec01cd63945be361fbb

@sdboyer and I concluded that the check is too restrictive and does not add value, given that the Go compiler itself is enough to spot when the the CUE field name generates a Go type shadowing the package name. Besides, both the generated types naming rule may change in the future.