14 lines
391 B
Go
14 lines
391 B
Go
package resolver
|
|
|
|
// The RootResolver brings queries and mutations together. The rest is just for readability.
|
|
type RootResolver struct {
|
|
MutationResolver
|
|
QueryResolver
|
|
}
|
|
|
|
// The QueryResolver is the entry point for all top-level read operations.
|
|
type QueryResolver struct{}
|
|
|
|
// The MutationResolver is the entry point for all top-level mutation operations.
|
|
type MutationResolver struct{}
|