graphql-datasource icon indicating copy to clipboard operation
graphql-datasource copied to clipboard

Fix plotting series when the first data point is empty

Open tonyhignett opened this issue 4 years ago • 2 comments

  • Add graphql to the dependencies, to help interacting with the schema.
  • Get the schema in parallel with the first data query and remember it.
  • Use it to find the numeric fields under the data paths, instead of inspecting the first data point.
  • Fixes #45

tonyhignett avatar May 25 '21 09:05 tonyhignett

Awesome, thank you! Sorry I haven't had a chance to review this yet.

Going to be a bit tricky integrating this and #60...

retzkek avatar Jun 04 '21 22:06 retzkek

In #60 I tried to keep most of the non-requesting code the same so most of this stuff can be layered on. But RequestFactory will need some rewriting. I'd say we merge #60 first and then cherry-pick the conflicting lines, there shouldn't be too many of them. I'm happy to help with merging.

SydoxX avatar Jun 05 '21 11:06 SydoxX