Skip to content

Commit

Permalink
🩹 Use local schema schema to run the codegen (#4788)
Browse files Browse the repository at this point in the history
Use local schema schema to run the codegen
  • Loading branch information
thesan authored Feb 26, 2024
1 parent 18c0fc2 commit 4d7a39e
Show file tree
Hide file tree
Showing 2 changed files with 37,454 additions and 3 deletions.
4 changes: 1 addition & 3 deletions packages/server/codegen.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { CodegenConfig } from '@graphql-codegen/cli'

import { QUERY_NODE_ENDPOINT } from './src/common/config'

const config: CodegenConfig = {
schema: QUERY_NODE_ENDPOINT,
schema: './src/common/queries/schema.graphql',

documents: ['src/*/queries/**/*.graphql'],

Expand Down
Loading

0 comments on commit 4d7a39e

Please sign in to comment.