-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load graphql schema from staging server on go generate (#71)
- Loading branch information
Showing
9 changed files
with
751 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
*_gen.go linguist-generated=true | ||
generated.go linguist-generated=true | ||
go.mod linguist-generated=true | ||
go.sum linguist-generated=true | ||
go.sum linguist-generated=true | ||
schema.graphql linguist-generated=true |
This file was deleted.
Oops, something went wrong.
Submodule cloudgraphql
deleted from
4d044b
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
package cloudclient | ||
|
||
import _ "github.com/suessflorian/gqlfetch" | ||
|
||
//go:generate sh -c "go run github.com/suessflorian/gqlfetch/gqlfetch --endpoint https://app.staging.otterize.com/api/graphql/v1beta > schema.graphql" | ||
//go:generate go run github.com/Khan/genqlient ./genqlient.yaml | ||
//go:generate go run github.com/golang/mock/[email protected] -destination=./mocks/mocks.go -package=cloudclientmocks -source=./cloud_client.go CloudClient |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.