Conta Fork Yeah

Fork yeah!! Identifiers done right.

conta-fork-yeah is a small library for forking complex object graphs — most commonly to carry data from one period to the next (fiscal year, budget cycle, schedule season, software release) or to clone an entity within the same period. The name is borrowed from "forking a repository": you take an existing graph as the starting point, produce a divergent copy, and keep a pointer back to where it came from. The library defines the contracts that domain entities implement to be forkable, the mode of the fork (copy, next, previous), and the lineage that gets recorded so the new graph can be traced back to its source.

Where to go from here:

Installation

Compatibility

conta-fork-yeah Micronaut Java

0.3.x

5.x

25

0.2.x

4.x

17

A Micronaut 4 application pins 0.2.+, not 0.+: the 0.3.x jars are Java 25 class files and pull conta-command 0.3.x and conta-problem-json 2.x.

repositories {
    mavenCentral()
    maven {
        name 'contaOpen'
        url 'https://gitlab.com/api/v4/groups/12992043/-/packages/maven'
    }
}

dependencies {
    implementation 'no.conta.fork-yeah:conta-fork-yeah-api:0.3.+'
}