Graph Traversal
-
I've implemented graph traversal in this PR. Although the functionality has been implemented in the
GraphApiClient, it does not fit our traditional pattern of one client method per REST endpoint. One method takes an object, convert it to an AQL query for graph traversal and executes it through the second method which takes an AQL query and executes it in the database through theCursorApiClient. -
ApiClientBasenow exposes a new memberprotected ArangoDBClient _arangoDBClient;and accepts a new parameter in its constructorArangoDBClient arangoDBClient = null. The parameter isnullby default to ensure backward compatibility. The above features mean that the client is now aware of theArangoDBClientit is associated with and has the ability to use its other features. This was necessary so that we could consume theCursorApiClientfunctionality from within theGraphApiClientto do the traversal.