Skip to content

Commit

Permalink
Merge pull request #131 from graphql-binding/fix_request
Browse files Browse the repository at this point in the history
feat: request - do not pluck data out but return full response
  • Loading branch information
Divyendu Singh authored Jul 16, 2018
2 parents 00c5c97 + 29eeceb commit 9fc7abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Delegate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class Delegate {
): Promise<T> {
this.before()
return graphql(this.schema, query, null, null, variables).then(
r => r.data as any,
r => r as any,
)
}

Expand Down

0 comments on commit 9fc7abc

Please sign in to comment.