Exemplo n.º 1
0
        public ActionResult <QueryResult> Get(string query)
        {
            var results = _dbContext.QueryObject(new QueryRequest {
                Query = query
            }, _schemaProvider);

            // gql compile errors show up in results.Errors
            return(results);
        }