amzn / smoke-framework

A light-weight server-side service framework written in the Swift programming language.
Apache License 2.0
1.45k stars 41 forks source link

Per invocation context provider #43

Closed tachyonics closed 4 years ago

tachyonics commented 4 years ago

Issue #, if available:

Description of changes:

  1. Add option to pass a per-invocation context provider rather than the context directly. This allows the context to be constructed per-invocation, such as creating clients from their generators or adding a per-invocation logger instance.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.