wildmountainfarms / wild-graphql-datasource

Grafana data source to interpret GraphQL queries as timeseries data. Includes a GraphiQL query editor with autocomplete!
https://grafana.com/grafana/plugins/retrodaredevil-wildgraphql-datasource/
MIT License
4 stars 1 forks source link

Add variables with full interpolation text area #3

Closed retrodaredevil closed 2 months ago

retrodaredevil commented 2 months ago

This change adds the option of specifying an additional variables object, which will be stored as a JSON string and always is fully interpolated as a string itself, rather than the strings inside the JSON, like is done in the GraphiQL editor.

This change is fully backwards compatible, and does not remove the behavior of the existing variables field, but instead provides a more advanced and also more unsafe option to create the variables JSON.