Exemplo n.º 1
0
        public async void TestGraphql()
        {
            IBranch branch = await Fixture.Repository.ReadBranchAsync("master");

            string schema = await branch.GraphqlSchemaAsync();

            Assert.NotNull(schema);

            string  query  = "query { n_nodes { title } }";
            JObject result = await branch.GraphqlQueryAsync(query);

            Assert.NotNull(result);
        }