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
Hello, it's a simple request, but is there any reason why these two structures don't derive Clone. I'm trying to return by value and I'm struggling a bit how to get an owned Document out of the local results vector
The text was updated successfully, but these errors were encountered:
Well, I am a little against the idea to add Clone to Document and Header. Say we have a document and a cloned document, and we made different changes in these two documents, then it can be inconsistent when you update it in arangodb. The liability can be passed to the user of arangors to avoid such cases, but I think it better to avoid it in the first place.
As for your use case, I think the local results is mutable and so you can just move the ownership of the element in a vec to another variable.
Hello, it's a simple request, but is there any reason why these two structures don't derive Clone. I'm trying to return by value and I'm struggling a bit how to get an owned Document out of the local results vector
The text was updated successfully, but these errors were encountered: