ulobby / NeoEloquent

An extension of Laravel Elqouent that supports Neo4j, a native graph database
MIT License
41 stars 17 forks source link

Do not remove relations from different nodes while saving a HasOne relation #16

Closed joseraul closed 3 years ago

joseraul commented 3 years ago

Before we were removing the first relation with the same name, thus, there is no guarantee that the relation removed is the correct one.

SimonThordal commented 3 years ago

Looks great! I think the tests added cover everything

joseraul commented 3 years ago

@SimonThordal I don't have permission to merge it, do you have? Or maybe is Travis that is blocking it?