cog
                                
                                
                                
                                    cog copied to clipboard
                            
                            
                            
                        Code Generation with a human touch
See: https://github.com/grafana/grafana-foundation-sdk/issues/36 Temporarily patched with https://github.com/grafana/cog/pull/240, until the schemas are updated
This issue is to investigate if there is a easy way to do this change: Currently we have: ```go type AssignmentValue struct { Argument *Argument `json:",omitempty"` Constant any `json:",omitempty"` Envelope...
Java doesn't support interfaces. The current solution is ignoring Maps and Arrays from the root files and when we found a field that uses a map or an array, we...
We have [this](https://github.com/grafana/cog/blob/main/internal/ast/compiler/cloudwatch.go#L58) veneer for [this line](https://github.com/grafana/kind-registry/blob/main/grafana/next/composable/cloudwatch/dataquery.cue#L135) that generates only an array of `QueryEditorExpression` instead the disjunct. But we can see that this array could have multiple values (since its...
When we have a struct that extend from another one and it overrides one of its fields with another struct, it extends its fields instead of used the new value....
Cue and OpenAPI are parsing times as string for Go when we are expecting `time.Time`.
There are some places in the code that should never be reached ©, but no error would bubble up if we reached them. We need proper error handling/bubbling for these...
[Some of our existing Cue schemas](https://github.com/grafana/grafana/blob/b4ac0eee54e49dae8666a7b50fb0cf2dea05b718/packages/grafana-schema/src/common/dimensions.cue#L11) use similar concepts, and cuetsy supports generating Typescript [code that relies on extending types](https://github.com/grafana/grafana/blob/4f5728233c8994b47cd7904b2c66927c803f2a91/packages/grafana-schema/src/common/common.gen.ts#L66-L71). Should we support it in cog as well?
Bumps cuelang.org/go from 0.8.2 to 0.10.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...