cube-js/cube

Payload and Response Improvement

Open

#1,019 opened on Aug 24, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (19,563 stars) (1,965 forks)batch import
client:corehelp wanted

Description

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