Skip to content

Set up default mappings with SourceControl.Git.Settings #250

Closed
@isc-pbarton

Description

@isc-pbarton

Say I am configuring an instance programmatically with a setup script using the SourceControl.Git.Settings API:

set settings = ##class(SourceControl.Git.Settings).%New()
do settings.%Save()

Most settings values are set to a default value, but the mappings are not set to anything. Instead I have to set each mapping individually on the Mappings property.
To make this more convenient we could check if there are any existing mappings configured. If not, set Mappings to the default values.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions