Skip to content

Commit

Permalink
fix: change the order of transformations
Browse files Browse the repository at this point in the history
Changed the order of execution of transformers
  • Loading branch information
maticzav authored Jan 6, 2019
2 parents 54caccb + 1eeb126 commit 2256d1d
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 @@ -160,8 +160,8 @@ export class Delegate {
context: options && options.context ? options.context : {},
info,
transforms: [
new ReplaceFieldWithFragment(this.schema, this.fragmentReplacements),
...transforms,
new ReplaceFieldWithFragment(this.schema, this.fragmentReplacements),
],
})

Expand Down

0 comments on commit 2256d1d

Please sign in to comment.