[BUG] Custom serializer with custom ioRegistry isn't MessageSerializer because of shadow #186
Open
1 of 2 tasks
Labels
bug
Something isn't working
Describe the bug
SQL Support and Limitations?
Steps to Reproduce
Link to stackoverflow with example code
Problematic code is locate in
GremlinConnectionProperties.java
(used inGremlinQueryExecutor.java
), when driver checks serializer is Object. Because JanusGraphIoRegistry isn't located in shadow, i need importorg.apache.tinkerpop.gremlin.driver.MessageSerializer
in my script. But because of it,instanceof
returnfalse
, when we check forMessageSerializer
, beсauseMessageSerializer
in driver is located inshadow.org.apache.tinkerpop.gremlin.driver.MessageSerializer
Expected behavior
I want to be able to add custom serializers with custom ioRegistry
Screenshots
Environment
Additional Context
I suggest remove in root
build.gradle
line withrelocate 'org.apache.tinkerpop', 'shadow.org.apache.tinkerpop'
, so that you can easily add custom serializersThe text was updated successfully, but these errors were encountered: