cloud-logging-data-source-plugin icon indicating copy to clipboard operation
cloud-logging-data-source-plugin copied to clipboard

Outdated ConnectionConfig in ConfigEditor leads to mutated React props

Open hugohaggmark opened this issue 3 months ago • 0 comments

This Grafana plugin uses an outdated version of @grafana/google-sdk and therefore the ConnectionConfig component used by ConfigEditor is mutating the authenticationType React prop. Fixed in version 0.3.1

While this currently works in Grafana, it may not be compatible with future versions and could lead to runtime errors. To ensure long-term stability, we recommend avoiding prop mutation. You can find more details in the React docs: https://react.dev/reference/rules/components-and-hooks-must-be-pure#props

hugohaggmark avatar Aug 21 '25 07:08 hugohaggmark