Disabling strategies via string in remote driver
Is there a way to disable a strategy in a providers implementation without a reference to the class?
For example, let's say StrategyA is in the providers implementation and I am in Python without access to this.
Is there no way to do g.withoutStrategies("com.provider.strategies.StrategyA").V().<etc>()?
I see string inputs mentioned in the changelog but it doesn't seem to work?
For example, let's say StrategyA is in the providers implementation and I am in Python without access to this.
Is there no way to do g.withoutStrategies("com.provider.strategies.StrategyA").V().<etc>()?
I see string inputs mentioned in the changelog but it doesn't seem to work?
Solution
in Java, i think you can use
TraversalStrategyProxy directly inside of withStrategies() but there is nothing analogous for withoutStrategies(). We probably should have a better way to do both of these things in the Gremlin language which really doesn't have a notion of classes and such.