Ferma icon indicating copy to clipboard operation
Ferma copied to clipboard

How to handle detached elements with Ferma?

Open malagus opened this issue 6 years ago • 7 comments

TinkerPop supports re-attaching DetachedElement back to graph. It's possible to achieve something similar using ferma ? We using ferma in rest api so user can get some graph elements, modify them and send back so we need to update our graph element. Currently do doing it manually but possibility to re-attaching elements to graph can be very useful.

malagus avatar May 16 '18 11:05 malagus

When you start manually do you mean your detaching and reattaching using the raw tinkerpop calls and then just wrapping/rewrapping with framed objects?

On Wed, May 16, 2018, 7:17 AM malagus [email protected] wrote:

TinkerPop supports re-attaching DetachedElement http://tinkerpop.apache.org/javadocs/3.2.2/full/org/apache/tinkerpop/gremlin/structure/util/detached/DetachedElement.html back to graph. It's possible to achieve something similar using ferma ? We using ferma in rest api so user can get some graph elements, modify them and send back so we need to update our graph element. Currently do doing it manually but possibility to re-attaching elements to graph can be very useful.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Syncleus/Ferma/issues/49, or mute the thread https://github.com/notifications/unsubscribe-auth/AC5JAp2XVPim-W3UqUIDxyQbLUwzp9X1ks5tzAqvgaJpZM4UBHbG .

freemo avatar May 16 '18 11:05 freemo

something like that because we can't create instance of framed object without real graph

malagus avatar May 16 '18 11:05 malagus

We havent addressed this explicitly. But I need this feature for my own software that uses Ferma as well. So I completely support extending the system to support this. Would you like to help contribute a PR for this or have any proposals for changes to the interface, or shall I spearhead that?

On Wed, May 16, 2018 at 7:56 AM, malagus [email protected] wrote:

something like that because we can't create instance of framed object without real graph

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Syncleus/Ferma/issues/49#issuecomment-389492672, or mute the thread https://github.com/notifications/unsubscribe-auth/AC5JAgRPMb661UX2HRaLctvZwB5Clk5mks5tzBP3gaJpZM4UBHbG .

freemo avatar May 16 '18 13:05 freemo

I can contribute. We can discuss the requirements.

malagus avatar May 18 '18 05:05 malagus

Wonderful, We can discuss here or in Gitter, which do you prefer?

On Fri, May 18, 2018 at 1:30 AM, malagus [email protected] wrote:

I can contribute. We can discuss the requirements.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Syncleus/Ferma/issues/49#issuecomment-390098889, or mute the thread https://github.com/notifications/unsubscribe-auth/AC5JAv1Tmg2aP5J1SBjqyzMs4RHSc1ncks5tzlyPgaJpZM4UBHbG .

freemo avatar May 18 '18 13:05 freemo

We can discuss on Gitter

malagus avatar May 21 '18 08:05 malagus

See you there

On Mon, May 21, 2018 at 4:42 AM, malagus [email protected] wrote:

We can discuss on Gitter

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Syncleus/Ferma/issues/49#issuecomment-390591515, or mute the thread https://github.com/notifications/unsubscribe-auth/AWNYbwvrbQaf1qZzWHosN2M2ggAXlCuaks5t0n3egaJpZM4UBHbG .

syncleus-bot avatar May 21 '18 15:05 syncleus-bot