2020-07-13 09:20:14 +02:00
|
|
|
# GraphQL schema example
|
|
|
|
#
|
|
|
|
# https://gqlgen.com/getting-started/
|
|
|
|
|
2020-07-13 14:44:05 +02:00
|
|
|
scalar Time
|
|
|
|
|
2020-07-13 09:20:14 +02:00
|
|
|
type User {
|
|
|
|
name: String
|
|
|
|
email: String!
|
2020-07-13 14:44:05 +02:00
|
|
|
connectedAt: Time!
|
|
|
|
createdAt: Time!
|
2020-07-13 09:20:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type Query {
|
|
|
|
userProfile: User
|
|
|
|
}
|