grafana-plugin-sdk-go icon indicating copy to clipboard operation
grafana-plugin-sdk-go copied to clipboard

Deprecate and remove experimental error source middleware

Open ivanahuckova opened this issue 4 months ago • 2 comments

From https://github.com/grafana/grafana-plugin-sdk-go/pull/1106#pullrequestreview-2360581383:

  • Deprecate experimental/errorsource and point plugin developers use non-experimental versions of functions.
  • We should probably export errorWithSourceImpl and use it in experimental/errorsource instead of Error to ensure that all methods are working as intended with a new middleware. Specifically we need Response to work.
  • We should add methods/options that add error source, but will not override it if it exists

ivanahuckova avatar Oct 09 '24 15:10 ivanahuckova