You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there,
if you generate constraints with the annotation processor, an @id annotation only generates a "unique" constraint, but no "required" one. This way it is possible to have nodes without an Id as long as the field is not present on the node. Normally we use the @GeneratedValue annotation too, which prevents it, but if you use custom cypher you can create a node without an id. Is it possible to generate "required" constrain as default for @id annotation too?