diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-09 02:56:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-09 02:56:37 +0100 |
commit | 3caffeef4d2ed25d4eb5d4bfd262f4fc3b92561f (patch) | |
tree | 40730a7ff92a420af65d9d2560a07d47a6a72174 /graphql/gqlgen.yml | |
parent | 9e1a987b4d94dc5c2115423ede5954d4faf1d342 (diff) | |
parent | 2af456f5e05f242d9e13049e038b9bd2d6dfc1cc (diff) | |
download | git-bug-3caffeef4d2ed25d4eb5d4bfd262f4fc3b92561f.tar.gz |
Merge pull request #316 from MichaelMure/lazy-graphql
graphql: use the cache in priority for fast browsing in the WebUI
Diffstat (limited to 'graphql/gqlgen.yml')
-rw-r--r-- | graphql/gqlgen.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/graphql/gqlgen.yml b/graphql/gqlgen.yml index fc27cc2d..fe33b8c7 100644 --- a/graphql/gqlgen.yml +++ b/graphql/gqlgen.yml @@ -10,13 +10,24 @@ models: RepositoryMutation: model: github.com/MichaelMure/git-bug/graphql/models.RepositoryMutation Bug: - model: github.com/MichaelMure/git-bug/bug.Snapshot + model: github.com/MichaelMure/git-bug/graphql/models.BugWrapper + fields: + actors: + resolver: true + participants: + resolver: true + comments: + resolver: true + timeline: + resolver: true + operations: + resolver: true Color: model: image/color.RGBA Comment: model: github.com/MichaelMure/git-bug/bug.Comment Identity: - model: github.com/MichaelMure/git-bug/identity.Interface + model: github.com/MichaelMure/git-bug/graphql/models.IdentityWrapper Label: model: github.com/MichaelMure/git-bug/bug.Label Hash: |