Open tangkhaiphuong opened 5 years ago
If database setting have defined rules, then create a statement without put options, the exception will be thrown Bug from here: https://github.com/ra0o0f/arangoclient.net/blob/020a2a3a606dc7c301377836c7a531aca07256bb/src/ArangoDB.Client/ArangoDatabase.cs#L197
This case options always null. Should change to: data.Options.Optimizer.Rules.Add(r);
data.Options.Optimizer.Rules.Add(r);
If database setting have defined rules, then create a statement without put options, the exception will be thrown Bug from here: https://github.com/ra0o0f/arangoclient.net/blob/020a2a3a606dc7c301377836c7a531aca07256bb/src/ArangoDB.Client/ArangoDatabase.cs#L197
This case options always null. Should change to:
data.Options.Optimizer.Rules.Add(r);