Skip to content

Commit

Permalink
style: deprecate composeWithConnection method
Browse files Browse the repository at this point in the history
  • Loading branch information
nodkz committed Sep 14, 2020
1 parent 389a438 commit 34a66d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"eslint.validate": ["javascript"],
"javascript.validate.enable": false,
"javascript.autoClosingTags": false,
"eslint.autoFixOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
Expand Down
3 changes: 3 additions & 0 deletions src/composeWithConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { ObjectTypeComposer } from 'graphql-compose';
import { prepareConnectionResolver } from './connection';
import type { ConnectionResolverOpts } from './connection';

/**
* @deprecated use `prepareConnectionResolver` method instead
*/
export function composeWithConnection<TSource, TContext>(
typeComposer: ObjectTypeComposer<TSource, TContext>,
opts: ConnectionResolverOpts<TContext>
Expand Down

0 comments on commit 34a66d7

Please sign in to comment.