Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat(context): make it possible to set source information for interceptions #4168
Interceptors can be invoked in the following cases:
Some interceptors want to check invocationContext.source to decide if its logic should be applied. For example, an http access logger only cares about invocations from the rest layer to the first controller.
This is also useful for metrics, tracing and logging.
This PR sets
bajtos left a comment
Interesting. I don't fully understand what you are trying to accomplish, can you please add some high-level documentation for consumers of this feature to
I am also concerned about ease of use, please see my comments below.
@bajtos I have improved the design with