circles-arrows / blueprint41

An Object Graph Mapper for CSharp to connect to Neo4j or Memgraph.
http://www.blueprint41.com/
MIT License
31 stars 8 forks source link

Memgraph unique constraint not created #67

Closed Eclegv closed 4 months ago

Eclegv commented 4 months ago

Kind of issue

In which operating systems have you tested?

Hello !

I'm actually creating a node entity in the blueprint datastore, this way : image

I want to create a unique constraint on the ID key field, but the SetKey prevent such creation. By removing the setkey, the constraint is successfully created.

Expected Behavior

When the server is started, the database should contain a constraint when using the SetKey on a unique constrained property.