I found a way to get the graphQL schema (with directives) without using the /admin endpoint and just a regular dql query
{
data(func:has(dgraph.graphql.schema), first:1) {
dgraph.graphql.schema
}
}
I found a way to get the graphQL schema (with directives) without using the /admin endpoint and just a regular dql query
{
data(func:has(dgraph.graphql.schema), first:1) {
dgraph.graphql.schema
}
}