Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(stateTimeline): add missing insertNulls and spanNulls options to fieldConfig.defaults.custom #240

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

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
Member

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>',
      },
    },
  },
}

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