Skip to content
Source
Sign inSign up

graphql.config.ts

13 lines495 Bytes

1import { defineConfig } from "@effect/graphql-generator/Config";
2​
3// Public schema: https://docs.github.com/public/fpt/schema.docs.graphql. Gate Enterprise-missing fields with @include.
4export default defineConfig({
5 schema: "./schema/github.graphql",
6 documents: ["src/**/*.graphql"],
7 scalars: {
8 GitObjectID: "effect/Schema#String",
9 GitRefname: "effect/Schema#String",
10 // Preserve GitHub's strings for comparison with other reads.
11 DateTime: "effect/Schema#String",
12 },
13});