Skip to content

Commit

Permalink
Add name to GQL client
Browse files Browse the repository at this point in the history
  • Loading branch information
rlmartin committed Jun 22, 2018
1 parent 548b41b commit aa4bc22
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const {{capitalize method}}{{toClassName ../type}} = gql`
const withAppSync{{toClassName type}} = compose(
{{#hasOperation operations 'get'}}
graphql(Get{{toClassName ../type}}, {
name: 'get{{toClassName ../type}}',
options: (ownProps) => ({
fetchPolicy: 'cache-and-network',
variables: {
Expand Down

0 comments on commit aa4bc22

Please sign in to comment.