Skip to content

Commit

Permalink
Fix compile error and generics warnings in sample code (americanexpre…
Browse files Browse the repository at this point in the history
  • Loading branch information
realityforge authored and chemdrew committed May 27, 2019
1 parent 8b952e3 commit b94dc8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ Replace _latest_ with the desired version to install. The versions available for
GraphQLTemplate graphQLTemplate = new GraphQLTemplate();

GraphQLRequestEntity requestEntity = GraphQLRequestEntity.Builder()
.url("http://graphql.example.com/graphql");
.variables(new Variable("timeFormat", "MM/dd/yyyy"))
.url("http://graphql.example.com/graphql")
.variables(new Variable<>("timeFormat", "MM/dd/yyyy"))
.arguments(new Arguments("path.to.argument.property",
new Argument("id", "d070633a9f9")))
new Argument<>("id", "d070633a9f9")))
.scalars(BigDecimal.class)
.request(SampleModel.class)
.build();
Expand Down

0 comments on commit b94dc8c

Please sign in to comment.