Skip to main content

GeneratorGroup

API reference

Implements Node

id: ID!

A unique identifier for this GeneratorGroup.

isEmpty: Boolean!

Whether the generated changeset from the last run is empty or not

changes(onConflict: ChangesetsMergeConflict = FAIL_EARLY): Changeset!

The combined changes from the last run of the generators

If any conflict occurs, for instance if the same file is modified by multiple generators, or if a file is both modified and deleted, an error is raised and the merge of the changesets will failed.

Set 'continueOnConflicts' flag to force to merge the changes in a 'last write wins' strategy.

onConflict: ChangesetsMergeConflict = FAIL_EARLY

Strategy to apply on conflicts between generators

list: [Generator!]!

Return a list of individual generators and their details

run: GeneratorGroup!

Execute all selected generators

References

Returned by

Accepted as an argument by