neo4j / sdn-rx

Nextgen Spring Data module for Neo4j supporting (not only) reactive data access and immutable support
https://neo4j.github.io/sdn-rx
Apache License 2.0
65 stars 23 forks source link

Fail on start if required id property is missing. #226

Closed meistermeier closed 4 years ago

meistermeier commented 4 years ago

If a class is annotated with @Node we can assume that it is the intention of the user to map this entity later. This will mark the entity as an explicit entity and we could apply stricter verification if needed. This PR uses this mechanism for throwing an exception if the id property is missing.

closes #224