cog icon indicating copy to clipboard operation
cog copied to clipboard

Code Generation with a human touch

Results 69 cog issues
Sort by recently updated
recently updated
newest added

This issue is to track Java builders. The common pattern in Java is to have the builder inside the class, so you can access to the builder doing `MyClass.Builder().blah(...).build()`. An...

Maps were adding the import only for references and we weren't checking if a reference was an array. In this second case, we were setting values like `Matchers` and `ObjectMatchers`...

I was relying on this metadata to include the right schema into Grafonnet. This PR fetches the metadata in the main config.

When a dataquery is successfully identified by the `DataqueryIdentification` compiler pass, it should update the schema metadata to reflect that fact. Possible alternative to #398

area:IR

It returns: ```java public PanelBuilder setShowLegend() { if (this.internal.options == null) { this.internal.options = new Options(); } if (this.internal.options.legend == null) { this.internal.options.legend = new HeatmapLegend(); } this.internal.options.legend.show = true;...

area:jennies
language:java

`NotificationPolicy.java` and `Rule.java` don't add some imports and looks like `NotificationPolicy` expects have some field objects that aren't generated.

area:jennies
language:java

Instead of relying on `./schemas/composable/prometheus` for Grafana versions >= v11, we need to find a schema published and maintained by Grafana itself. Schema removed by: https://github.com/grafana/grafana/pull/83808 Possible replacement? https://github.com/grafana/grafana/blob/main/pkg/promlib/models/query.request.schema.json This...

area:schemas

There is a lot of complexity shared across jennies/languages to work with defaults. We should look into how these can be better modeled and how we can simplify the work...

area:IR
area:jennies

It's really easy to have inconsistent formatting for identifiers (type names, variables, classes, fields, ...) This processing is split across various places: different jennies and templates mainly. What about applying...

area:IR
area:jennies

There is no schema for this panel type. It would be a useful addition to the foundation-sdk: we need to either produce a schema ourselves, or ask the relevant team...

area:schemas