Skip to content

Commit 34a66d7

Browse files
committed
style: deprecate composeWithConnection method
1 parent 389a438 commit 34a66d7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"eslint.validate": ["javascript"],
33
"javascript.validate.enable": false,
44
"javascript.autoClosingTags": false,
5-
"eslint.autoFixOnSave": true,
65
"editor.codeActionsOnSave": {
76
"source.fixAll.eslint": true
87
}

src/composeWithConnection.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import { ObjectTypeComposer } from 'graphql-compose';
22
import { prepareConnectionResolver } from './connection';
33
import type { ConnectionResolverOpts } from './connection';
44

5+
/**
6+
* @deprecated use `prepareConnectionResolver` method instead
7+
*/
58
export function composeWithConnection<TSource, TContext>(
69
typeComposer: ObjectTypeComposer<TSource, TContext>,
710
opts: ConnectionResolverOpts<TContext>

0 commit comments

Comments
 (0)