File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
packages/graphql-codegen-cli Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @graphql-codegen/cli ' : major
3
+ ---
4
+
5
+ Drop @graphql-tools/prisma-loader
Original file line number Diff line number Diff line change 53
53
"@graphql-tools/graphql-file-loader" : " ^8.0.0" ,
54
54
"@graphql-tools/json-file-loader" : " ^8.0.0" ,
55
55
"@graphql-tools/load" : " ^8.1.0" ,
56
- "@graphql-tools/prisma-loader" : " ^8.0.0" ,
57
56
"@graphql-tools/url-loader" : " ^8.0.0" ,
58
57
"@graphql-tools/utils" : " ^10.0.0" ,
59
58
"@whatwg-node/fetch" : " ^0.10.0" ,
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { ApolloEngineLoader } from '@graphql-tools/apollo-engine-loader';
2
2
import { CodeFileLoader } from '@graphql-tools/code-file-loader' ;
3
3
import { GitLoader } from '@graphql-tools/git-loader' ;
4
4
import { GithubLoader } from '@graphql-tools/github-loader' ;
5
- import { PrismaLoader } from '@graphql-tools/prisma-loader' ;
6
5
import { GraphQLConfig , GraphQLExtensionDeclaration , loadConfig } from 'graphql-config' ;
7
6
8
7
export const CodegenExtension : GraphQLExtensionDeclaration = ( api : any ) => {
@@ -17,7 +16,6 @@ export const CodegenExtension: GraphQLExtensionDeclaration = (api: any) => {
17
16
api . loaders . schema . register ( new GitLoader ( ) ) ;
18
17
api . loaders . schema . register ( new GithubLoader ( ) ) ;
19
18
api . loaders . schema . register ( new ApolloEngineLoader ( ) ) ;
20
- api . loaders . schema . register ( new PrismaLoader ( ) ) ;
21
19
// Documents
22
20
api . loaders . documents . register (
23
21
new CodeFileLoader ( {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import {
12
12
NoTypeDefinitionsFound ,
13
13
UnnormalizedTypeDefPointer ,
14
14
} from '@graphql-tools/load' ;
15
- import { PrismaLoader } from '@graphql-tools/prisma-loader' ;
16
15
import { UrlLoader } from '@graphql-tools/url-loader' ;
17
16
import { GraphQLError , GraphQLSchema } from 'graphql' ;
18
17
@@ -41,7 +40,6 @@ export async function loadSchema(
41
40
new JsonFileLoader ( ) ,
42
41
new UrlLoader ( ) ,
43
42
new ApolloEngineLoader ( ) ,
44
- new PrismaLoader ( ) ,
45
43
] ;
46
44
47
45
const schema = await loadSchemaToolkit ( schemaPointers , {
You can’t perform that action at this time.
0 commit comments