Can I know how to print the supergraph Schema with Routing Mechanisms #194
Unanswered
shamin2021
asked this question in
Q&A
Replies: 1 comment 1 reply
-
We don't print the routing mechanisms at this point, but you can print the outgoing queries in the query method of the ServiceProvider interface. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have tried this and has given me a schemas as the following
"[bookService]"
type Author {
firstName: String!
id: String
lastName: String!
}
"[bookService]"
type Book {
author: Author
id: ID
name: String
pageCount: Int
}
"[]"
type Query {
_namespace: String
authorByid(id: ID!): Author
bookById(id: ID): Book
}
"A selection set"
scalar _FieldSet
would love to know if theres a way to print the routing mechanisms as well
Beta Was this translation helpful? Give feedback.
All reactions