Skip to content
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

chore: remove the bff-sdk directory & add the command gql-sdk-upgrade to the Makefile #291

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,14 @@ gql-gen:
@go run github.com/99designs/gqlgen@v0.17.40 generate
build-graphql-server: gql-gen
@CGO_ENABLED=0 GOOS=linux go build -o bin/graphql-server graphql-server/go-server/main.go
run-graphql-server:
POD_NAMESPACE=arcadia go run graphql-server/go-server/main.go --enable-playground=true &

# sdk for graphql-server api
GRL_SDK_GENERATOR_IMAGE ?= kubebb/gql-sdk-generator
.PHONY: gql-sdk-generator
gql-sdk-generator: run-graphql-server
docker run -v $(shell pwd)/graphql-server/go-server/graph/schema:/schema ${GRL_SDK_GENERATOR_IMAGE}:main


# prepare for git push
Expand Down
19 changes: 0 additions & 19 deletions graphql-server/bff-sdk/.fatherrc.ts

This file was deleted.

3 changes: 0 additions & 3 deletions graphql-server/bff-sdk/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions graphql-server/bff-sdk/.npmrc

This file was deleted.

110 changes: 0 additions & 110 deletions graphql-server/bff-sdk/README.md

This file was deleted.

31 changes: 0 additions & 31 deletions graphql-server/bff-sdk/codegen-gql.mjs

This file was deleted.

11 changes: 0 additions & 11 deletions graphql-server/bff-sdk/codegen.yml

This file was deleted.

59 changes: 0 additions & 59 deletions graphql-server/bff-sdk/package.json

This file was deleted.

Loading