Skip to content

artefact graft #20

@matt-beanland

Description

@matt-beanland

Add a pipeline convenience function Artefact. merge/3 similar to combine:

      relationships = {
      me_knowing
      |> Artefact.combine(me_valuing)
      |> Artefact.combine(me_being)
      |> Artefact.combine(me_doing)
      |> Artefact.merge(args), title: "MeMind", description: "Mind of Me.")

Instead of taking an artefact, merge's 2nd argument is args similar to new, however new is not called, rather the args are integrated as 'right' into the 'left' artefact. Raises if nodes required by relationships in args are not found in args + artefact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions