diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-29 23:48:52 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-29 23:48:52 +0200 |
commit | 5b70e3452a4685112fd005fef0727930ebd2adaf (patch) | |
tree | 8ccc03847dd09d48f2c979772a6d0bb23fd8cbcc /graphql/gqlgen.yml | |
parent | 64354c7ce3ff8d1c8c780a93b46c933781851edf (diff) | |
download | git-bug-5b70e3452a4685112fd005fef0727930ebd2adaf.tar.gz |
graphql: fix knot in the graphql/gqlgen usage
Diffstat (limited to 'graphql/gqlgen.yml')
-rw-r--r-- | graphql/gqlgen.yml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/graphql/gqlgen.yml b/graphql/gqlgen.yml index d0e579a2..19800bd9 100644 --- a/graphql/gqlgen.yml +++ b/graphql/gqlgen.yml @@ -1,16 +1,12 @@ schema: schema.graphql exec: - filename: resolvers/gen_graph.go + filename: graph/gen_graph.go model: filename: models/gen_models.go models: - # Hack: here, we define the Repository model as a struct we control to trick gqlgen into - # generating an empty resolver instead of a struct with data - # Hopefully in the future, gqlgen support this case and we can clean that, as well as - # moving gen_graph.go into it's own package Repository: - model: github.com/MichaelMure/git-bug/graphql/resolvers.repoResolver + model: github.com/MichaelMure/git-bug/graphql/models.Repository Bug: model: github.com/MichaelMure/git-bug/bug.Snapshot Comment: |