Skip to content

Commit

Permalink
fix(TypeComposer): Fix projection option in addRelation method
Browse files Browse the repository at this point in the history
closes #20, #21
  • Loading branch information
nodkz committed Oct 4, 2016
1 parent 3face45 commit 8f31066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typeComposer.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export default class TypeComposer {
deprecationReason: opts.deprecationReason,
args: argsConfig,
resolve,
_gqcProjection: opts.projection,
projection: opts.projection,
_gqcIsRelation: true,
});

Expand Down

0 comments on commit 8f31066

Please sign in to comment.