Skip to main content

AssetMergeNewBranch

No description

type AssetMergeNewBranch {
asset: Asset!
editableBranchName: Boolean!
suggestedBranchName: String!
synthetic: Boolean!
}

Fields​

AssetMergeNewBranch.asset ● Asset! non-null object​

The incoming asset that will become a branch of the repository.

AssetMergeNewBranch.editableBranchName ● Boolean! non-null scalar​

True when the front may let the user rename this branch (the name is a synthetic "main" — the asset has no integration branch). False when the name comes from an integration (deploy/scan) and MUST be kept as-is — renaming it would orphan future re-syncs, and the mergeRepository mutation rejects it.

AssetMergeNewBranch.suggestedBranchName ● String! non-null scalar​

Suggested branch name for this asset (its deploy/scan history, else "main").

AssetMergeNewBranch.synthetic ● Boolean! non-null scalar​

True when the suggested name is a synthetic "main" fallback (no real branch found).

Member Of​

AssetMergeManualPreview object

Contribute to the Docs

Found something outdated or missing? Help us improve the documentation with a quick suggestion or edit.

How to contribute