Skip to content

Make it easier to extend EndpointInitializationOptions with new functionality and provide IServiceProvider #39

Description

@mikoskinen

EndpointInitializationOptions can be changed alter what happens when Endpoint initialization start, fails or finishes.

There's two issues:

  • IServiceProvider isn't available for example in OnInitialization on in the other events.
  • It is only possible to change the default functionality (by configuring for example OnInitializationError) but it is not easy to add new functionality. So if the developer is happy with how OnInitializationError currently operates but would like to add something more (like reporting to Sentry), it's not easy to do and leads to duplication.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions