Skip to content

Commit

Permalink
More detailed description for 'maxWalkDistance'
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaakko committed Aug 17, 2018
1 parent 6577fe6 commit cfc85d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ public IndexGraphQLSchema(GraphIndex index) {
.build())
.argument(GraphQLArgument.newArgument()
.name("maxWalkDistance")
.description("The maximum distance (in meters) the user is willing to walk. Defaults to unlimited.")
.description("The maximum distance (in meters) the user is willing to walk per walking section. If the only transport mode allowed is `WALK`, then the value of this argument is ignored. \n Default: 2000m \n Maximum value: 15000m \n **Note:** If this argument has a relatively small value and only some transport modes are allowed (e.g. `WALK` and `RAIL`), it is possible to get an itinerary which has (useless) back and forth public transport legs to avoid walking too long distances.")
.type(Scalars.GraphQLFloat)
.build())
.argument(GraphQLArgument.newArgument()
Expand Down

0 comments on commit cfc85d8

Please sign in to comment.