Skip to content

Conversation

@ccremer
Copy link
Owner

@ccremer ccremer commented Dec 27, 2021

Summary

  • Adds Pipeline.WithOptions(options...) method.
  • Adds DisableErrorWrapping option func to disable error wrapping.
  • Options are passed down to wrapped pipelines. provided they are set before building a nested pipeline.

Sometimes implementations may want to transparently run code without wrapping errors from a library.

Checklist

  • Categorize the PR by setting a good title and adding one of the labels:
    fix, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog
  • Update documentation.
  • Update tests.

@ccremer ccremer added the enhancement New feature or request label Dec 27, 2021
Sometimes implementations may want to transparently run code without wrapping errors from a library.
@ccremer ccremer merged commit 41e5a47 into master Dec 27, 2021
@ccremer ccremer deleted the options-wrap branch December 27, 2021 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants