The GraphQL queries in DBS are supported
as proof-of-concept. The implementation
is done via graph-gophers
library. The code reads
DBS GraphQL schema
and provides /query
end-point for GraphQL queries. The queries
can be posted via HTTP POST request as following:
curl -X POST -d@/tmp/qraph.ql https://some-host.com/dbs2go/query
where /tmp/graph.ql
represents GraphQL query like
{"query": "{getDataset(name: \"test\") {name}}"}