cube-js/cube

Payload and Response Improvement

Open

#1.019 aberto em 24 de ago. de 2020

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (1.965 forks)batch import
client:corehelp wanted

Métricas do repositório

Stars
 (19.563 stars)
Métricas de merge de PR
 (Mesclagem média 5d 16h) (138 fundiu PRs em 30d)

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.

Guia do colaborador