Skip to content

Change MutatorFunc to be more flexible#92

Merged
sethvargo merged 1 commit intomainfrom
sethvargo/mutatorpoc
Dec 18, 2023
Merged

Change MutatorFunc to be more flexible#92
sethvargo merged 1 commit intomainfrom
sethvargo/mutatorpoc

Conversation

@sethvargo
Copy link
Owner

@sethvargo sethvargo commented Dec 18, 2023

⚠️ BREAKING! This changes the signature of the MutatorFunc to have more information about prior states. It will include the original environment variable names and values, as well as the currently resolved values. Additionally, the mutation chain can now be stopped without returning an error.

**:warning: BREAKING!** This changes the signature of the `MutatorFunc` to have more information about prior states. It will include the original environment variable names and values, as well as the currently resolved values. Additionally, the mutation chain can now be stopped without returning an error.
@sethvargo sethvargo merged commit d1721d7 into main Dec 18, 2023
@sethvargo sethvargo deleted the sethvargo/mutatorpoc branch December 18, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant