Hi I want to get the type names of the query in graphql. It should not have scalar and enumerated types.
schema {
query: Query
}
type LearningResource{
id: ID
name: String
type: String
children: [LearningResource]
}
type Query {
fetchLearningResource: LearningResource
}
When I run fetchLearningResource
query then I want to get the type of it like here LearningResource
. Any way to do this in GraphQL ?