Skip to content

Provider Hook Spec #113

@s-sen

Description

@s-sen

The context is that providers may need to run some initialization work (and/or cleanup work) for each API call. The current per-call hook support is geared towards application developers. All hooks are added by the developers when using a specific API call. If a provider requires some work as a part of API call there may be two options:

  1. Do not cover it in the spec - it is out-of-band, specific to each Provider
  2. Create a spec for a Provider hook that is NOT set by the application developer. Any API call requires that the SDK runs the provider hook with the same stages - before, after, error, finally etc. But provider should be able to register such a hook and it should be transparent to the application developer.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions