Skip to content

Commit a199592

Browse files
authored
Merge pull request #27 from cloudgraphdev/feature/CG-1276-dgraph-migration
feat(sdk): return raw schemas instead of strings
2 parents cd01aa3 + f85bc9c commit a199592

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { DocumentNode } from 'graphql'
12
import inquirer from 'inquirer'
23

34
import { Logger } from '../logger'
@@ -20,7 +21,7 @@ export default abstract class Provider {
2021
throw new Error('Function configure has not been defined')
2122
}
2223

23-
getSchema(): string {
24+
getSchema(): DocumentNode {
2425
throw new Error('Function getSchema has not been defined')
2526
}
2627

0 commit comments

Comments
 (0)