Skip to content

Extend requestId capabilities #295

@willhausman

Description

@willhausman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementLEGACY. Use the Feature issue type instead

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions