kldavis4 / datadictionary-graphql-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data Dictionary Graphql Client

React Patterns: http://lucasmreis.github.io/blog/simple-react-patterns/

Demo application

Graphql Sample Interface

[https://monsters-tst.kuali.co/cor/datadictionary/api/v1/graphql]

Sample Graphql Requests

List all modules

query {
  modules {
    id
    name
  }
}

Get module by id

query {
  module(id: 1) {
    id
    name
  }
}

Get module by id with entities

query {
  module(id: 1) {
    id
    name
    entities {
      id
      name
    }
  }
}

Get entity by name with module and children

query {
  getEntity(props: {name: "Tax Region"}) {
    id
    module {
      name
    }
    children {
      name
      _type
    }
  }
}

Get table with fields

query {
  table(id: 102) {
    id
    name
    fields {
      id
      name
    }
  }
}

About


Languages

Language:JavaScript 78.8%Language:HTML 16.8%Language:CSS 4.4%