How to create graphql schema from string in Go?
This is my schema, here shown as a JavaScript string:
const schemaContent = `type Query {
greeting:String
students:[Student]
}
type Student {
id:ID!
firstName:String
lastName:String
password:String
collegeId:String
}`
How can I build from the schemaContent
string a scheme of type schema *graphql.Schema
in Go?