Skip to content

Commit

Permalink
misc: revert graphql split (#1762)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansmonjol authored Sep 25, 2024
1 parent 309c9d0 commit 81221f7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 24 deletions.
3 changes: 1 addition & 2 deletions .env.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
API_URL=http://localhost:3000
APP_ENV=development
CODEGEN_API_CUSTOMER_PORTAL=http://api.lago.dev/customer_portal/graphql
CODEGEN_API_GRAPHQL=http://api.lago.dev/api/graphql
CODEGEN_API=http://api.lago.dev/graphql
CYPRESS_APP_URL=https://app.lago.dev
GOCARDLESS_CLIENT_ID=__YOUR_GOCARDLESS_CLIENT_ID__
GOCARDLESS_CLIENT_SECRET=__YOUR_GOCARDLESS_SECRET__
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ jobs:

- name: Run codegen
env:
CODEGEN_API_CUSTOMER_PORTAL: http://localhost:3000/customer_portal/graphql
CODEGEN_API_GRAPHQL: http://localhost:3000/api/graphql
CODEGEN_API: http://localhost:3000/graphql
run: |
yarn codegen
- name: Run Typescript
Expand Down
3 changes: 1 addition & 2 deletions codegen.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
overwrite: true
schema:
- ${CODEGEN_API_CUSTOMER_PORTAL}
- ${CODEGEN_API_GRAPHQL}
- ${CODEGEN_API}
- './src/core/apolloClient/graphqlResolvers.tsx'
documents: ['src/**/*.tsx', 'src/**/*.ts']
generates:
Expand Down
Loading

0 comments on commit 81221f7

Please sign in to comment.