Skip to content

Commit 7ba1303

Browse files
authored
Merge pull request #128 from OxfordAbstracts/fix-arg-gql-vars
Fix arg gql vars
2 parents efc9772 + f6a516f commit 7ba1303

File tree

9 files changed

+629
-296
lines changed

9 files changed

+629
-296
lines changed

codegen/schema/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ Argument for generateSchema
5454
}
5555
)
5656
)
57-
-- | Whether the extra Hasura types should be generated
58-
, isHasura :: Nullable Boolean
5957
-- | how to convert gql enum contructors to purescript strings. Will default to making their 1st character capital
6058
, enumValueNameTransform :: Nullable (String -> String)
6159
}
@@ -114,8 +112,6 @@ Argument for generateSchema
114112
}
115113
)
116114
)
117-
-- | Whether the extra Hasura types should be generated
118-
, isHasura :: Nullable Boolean
119115
-- | how to convert gql enum contructors to purescript strings. Will default to making their 1st character capital
120116
, enumValueNameTransform :: Nullable (String -> String)
121117
}

codegen/schema/test/test.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const go = async () => {
1212
externalTypes: {},
1313
fieldTypeOverrides: require('./outside-types'),
1414
modulePath: ['Generated', 'Gql'],
15-
isHasura: true,
1615
cache: { get, set }
1716
}, require('./gql-endpoints'))
1817
console.log('test done')

0 commit comments

Comments
 (0)