grafana / cog

Code Generation with a human touch
Apache License 2.0
48 stars 2 forks source link

Java: Improve custom panels generation #559

Closed spinillos closed 1 month ago

spinillos commented 1 month ago

Creating a custom panel in Java means that you need to copy&paste the whole information from Panel class into the custom one. Its because extending from this class builder doesn't allow us to use options or fieldconfig since its internal model is a private final class.

So we need to modify Panel Builder class to be able to extends from it and use its internal fields.