Closed edenaharoni closed 3 years ago
The shouldPrefixCollectionNames flag coupled with creating or reusing an existing database. That is,
shouldPrefixCollectionNames == false
-> reuse existing db+graph -> createDatabase = false
shouldPrefixCollectionNames == true
-> create new db+graph -> createDatabase = true
Note that the current implementation does not cope well with existing databases+graphs. #38 addresses this issue.
Currently the ctor of the
ArangoDBGraph
is creating anArangoDBGraphClient
with sending it theshouldPrefixCollectionNames
as a boolean for thecreateDatabase
param. I think this should be decoupled with new configuration added to theArangoDBConfigurationBuilder
namedshouldCreateDatabase
or even add it to the.dataBase
method as aboolean
param.