cube-js/cube

Payload and Response Improvement

オープン

#1,019 opened on 2020/08/24

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (1,965 件のフォーク)batch import
client:corehelp wanted

Repository metrics

Stars
 (19,563 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド