cube-js/cube

Payload and Response Improvement

Open

#1.019 geöffnet am 24. Aug. 2020

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (1.965 Forks)batch import
client:corehelp wanted

Repository-Metriken

Stars
 (19.563 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 5T 16h) (138 gemergte PRs in 30 T)

Beschreibung

Problem When wanting to display the selected Filters and/or Segments instead of getting that data from orderMembers in the payload and annotations in the response extra code is needed to parse that data from the metadata and/or other JSON properties.

Solution Have the same output pattern followed for Filters and Segments to appear in orderMembers payload and annotations response

Alternatives we've considered We've solved by writing additional logic, which does also add additional requests and we're trying to lower the number of requests.

Contributor Guide