Files
genqlient/generate/testdata/QueryWithInput.graphql.go
T
2020-07-15 17:35:47 -07:00

19 lines
317 B
Go

type Response struct {
User *struct {
Id string `json:"id"`
} `json:"user"`
}
type role string
const (
studentRole role = "STUDENT"
teacherRole role = "TEACHER"
)
type userQueryInput struct {
Email *string `json:"email"`
Name *string `json:"name"`
Id *string `json:"id"`
Role *role `json:"role"`
}