Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend requestId capabilities #295

Closed
willhausman opened this issue Dec 16, 2019 · 0 comments
Closed

Extend requestId capabilities #295

willhausman opened this issue Dec 16, 2019 · 0 comments
Labels
enhancement New feature proposal

Comments

@willhausman
Copy link
Contributor

Is your feature request related to a problem? Please describe.

  1. I am overriding repositoryFactory for integration with my distributed application. I do not have access to requestId to pass on to my other servers.
  2. My requestId is currently on a custom header instead of x-request-id.

Describe the solution you'd like

  1. repositoryFactory to have requestId available.
  2. Option for setting requestId.

Describe alternatives you've considered
I currently set requestId on my authInfo which feels dirty. In my ideal world, I would have a hook to extend whatever I want on the context passed to repositoryFactory, instead of just authInfo.
Of course, I can copy my header to x-request-id, but it still isn't exposed to repositoryFactory.

@paveltiunov paveltiunov added the enhancement New feature proposal label Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature proposal
Projects
None yet
Development

No branches or pull requests

2 participants