observeinc / entity-explorer

Observe Entity Explorer provides advanced relationship analysis of Observe entities
Apache License 2.0
4 stars 0 forks source link

add support for index/equality field indicator for datasets #31

Open danielodievich opened 5 months ago

danielodievich commented 5 months ago

We want indexDefs

            {
              "name": "namespace",
              "type": {
                "tag": "STRING",
                "__typename": "FieldType"
              },
              "indexDefs": [
                {
                  "__typename": "EqualityIndex",
                  "column": "namespace"
                }
              ],
              "linkDesc": null,
              "isEnum": true,
              "isSearchable": true,
              "isHidden": null,
              "isConst": false,
              "isMetric": false,
              "__typename": "FieldDesc"
            }

Coming from:

fragment DatasetFieldDesc on FieldDesc {
  name
  type {
    tag
    __typename
  }
  indexDefs {
    __typename
    column
  }
  linkDesc {
    ...LinkDesc
    __typename
  }
  isEnum
  isSearchable
  isHidden
  isConst
  isMetric
  __typename
}
danielodievich commented 5 months ago

Maybe add count of index columns to the list of datasets