Adds generate_hints=true for dropping hints in response, resolves #1789.
Adds an `generate_hints=false` option which lets us skip generating and emitting hints for Waypoints. This can be used to decrease the response size when the user does not need hints anyway. We should think about making `false` the default here in v6.
This commit is contained in:
@@ -70,8 +70,7 @@ class TableAPI final : public BaseAPI
|
||||
response.values["code"] = "Ok";
|
||||
}
|
||||
|
||||
// FIXME gcc 4.8 doesn't support for lambdas to call protected member functions
|
||||
// protected:
|
||||
protected:
|
||||
virtual util::json::Array MakeWaypoints(const std::vector<PhantomNode> &phantoms) const
|
||||
{
|
||||
util::json::Array json_waypoints;
|
||||
|
||||
Reference in New Issue
Block a user