grafana / thema

A CUE-based framework for portable, evolvable schema
Apache License 2.0
229 stars 12 forks source link

Chore: Generate `any` instead of `interface{}` in Go code #175

Closed undef1nd closed 1 year ago

undef1nd commented 1 year ago

Does what it says in the title.

Fixes: https://github.com/grafana/thema/issues/138

sdboyer commented 1 year ago

Seems like we don't have any test cases that exercise this. Could we add one to the txtar corpus, or modify an existing corpus case where field types don't matter so much?

sdboyer commented 1 year ago

Thanks!

Now we need a quick follow-up PR against kindsys and then core Grafana to get this into place.