-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate existent documents on insert edge #136
Comments
Can you please the describe the behavior? |
Validating of edges in ArangoDB is only possible through named graphs and the corresponding graph REST API, which is currently not supported by Spring Data ArangoDB. There is an open feature request for that but no ETA. |
ArangoDB spring-data allows me insert edges when the _from or _to referenced documents doesn't exists. |
Since ArangoDB graphs API does not support overwriting (https://www.arangodb.com/docs/stable/http/gharial-edges.html#create-an-edge), it is not suitable for implementing Closing for now, please refer to #76 for further discussion. |
When I insert a document with type edge, if I don't send the whole object referenced in _from and in _to it has a strange behavior. It would very good the possibility of to send only identifiers.
Is it possible to send the vertx references (identifier, for example "collection/1234") in the _from and _to fields and validate spring-data if they exist before inserting them?
The text was updated successfully, but these errors were encountered: