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

misc: revert graphql split #1762

Merged
merged 1 commit into from
Sep 25, 2024
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
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
Loading