-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
WIP: init graphql support #14721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: init graphql support #14721
Conversation
use [gqlgen](https://github.com/99designs/gqlgen) as frame add two operations as init query: viewer mutation: createRepository Signed-off-by: a1012112796 <[email protected]>
Up ? Do you need some help for this PR ? I'm waiting a lot the support for GraphQL. |
.PHONY: generate-graphql | ||
generate-graphql: | ||
cd modules/graphql && \ | ||
mod=vendor $(GO) run github.com/99designs/gqlgen genrate && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't there be generate
?
@@ -29,7 +30,7 @@ require ( | |||
github.com/ethantkoenig/rupture v1.0.0 | |||
github.com/gliderlabs/ssh v0.3.1 | |||
github.com/glycerine/go-unsnap-stream v0.0.0-20190901134440-81cf024a9e0a // indirect | |||
github.com/go-chi/chi v1.5.1 | |||
github.com/go-chi/chi v3.3.2+incompatible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems incorrect, it would be ok to upgrade to v4
Is it feasible for current Gitea code base? |
not like #12285 use gqlgen as frame
add two operations as init
query: viewer
mutation: createRepository