Skip to content

Conversation

@aamkye
Copy link

@aamkye aamkye commented Mar 1, 2025

Where should I edit files to achieve the following result?
I'm also interested in contributing to the docs :)

@CLAassistant
Copy link

CLAassistant commented Mar 1, 2025

CLA assistant check
All committers have signed the CLA.

@Duologic
Copy link
Contributor

Duologic commented Mar 4, 2025

As you found out, that code is generated. When schemas upstream in grafana/grafana get updated with these fields, then this'll also appear in Grafonnet.

See similar issue: #188

As suggested there, a workaround can be done byy adding a JSON blurb to your panel:

panel + {
  fieldConfig+: {
    defaults+: {
      custom+: {
        insertNulls: '<value>',
      },
    },
  },
}

@aamkye
Copy link
Author

aamkye commented Mar 24, 2025

@Duologic, please guide me, where the docs might be edited (repo/files).

@Duologic
Copy link
Contributor

The docs are here: https://github.com/grafana/grafonnet/tree/main/docs however everything under API/ is generated as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants