git-bug/graphql/gqlgen.yml
Michael Muré b2f8572c44 graphql: change mutations to respect the Relay specification
https://facebook.github.io/relay/graphql/mutations.htm

This specification also allow to expose a mutationId for fire and forget,
as well as the created operation.
2019-06-16 21:29:49 +02:00

54 lines
1.9 KiB
YAML

schema: "schema/*.graphql"
exec:
filename: graph/gen_graph.go
model:
filename: models/gen_models.go
models:
Repository:
model: github.com/MichaelMure/git-bug/graphql/models.Repository
RepositoryMutation:
model: github.com/MichaelMure/git-bug/graphql/models.RepositoryMutation
Bug:
model: github.com/MichaelMure/git-bug/bug.Snapshot
Color:
model: image/color.RGBA
Comment:
model: github.com/MichaelMure/git-bug/bug.Comment
Identity:
model: github.com/MichaelMure/git-bug/identity.Interface
Label:
model: github.com/MichaelMure/git-bug/bug.Label
Hash:
model: github.com/MichaelMure/git-bug/util/git.Hash
Operation:
model: github.com/MichaelMure/git-bug/bug.Operation
CreateOperation:
model: github.com/MichaelMure/git-bug/bug.CreateOperation
SetTitleOperation:
model: github.com/MichaelMure/git-bug/bug.SetTitleOperation
AddCommentOperation:
model: github.com/MichaelMure/git-bug/bug.AddCommentOperation
EditCommentOperation:
model: github.com/MichaelMure/git-bug/bug.EditCommentOperation
SetStatusOperation:
model: github.com/MichaelMure/git-bug/bug.SetStatusOperation
LabelChangeOperation:
model: github.com/MichaelMure/git-bug/bug.LabelChangeOperation
TimelineItem:
model: github.com/MichaelMure/git-bug/bug.TimelineItem
CommentHistoryStep:
model: github.com/MichaelMure/git-bug/bug.CommentHistoryStep
CreateTimelineItem:
model: github.com/MichaelMure/git-bug/bug.CreateTimelineItem
AddCommentTimelineItem:
model: github.com/MichaelMure/git-bug/bug.AddCommentTimelineItem
LabelChangeTimelineItem:
model: github.com/MichaelMure/git-bug/bug.LabelChangeTimelineItem
SetStatusTimelineItem:
model: github.com/MichaelMure/git-bug/bug.SetStatusTimelineItem
SetTitleTimelineItem:
model: github.com/MichaelMure/git-bug/bug.SetTitleTimelineItem
LabelChangeResult:
model: github.com/MichaelMure/git-bug/bug.LabelChangeResult