Skip to content

If no IJsRuntime has been added to Services at render time, add a dummy that will throw if requested #26

@egil

Description

@egil

To make it easier for users to discover the JsRuntime Mock and how/when they need it, I think it would be a great solution to register a dummy IJsRuntime just before the service collection gets turned into a service provider. That dummy should simply throw an exception if every instantiated with a descriptive message to the user about providing i IJsRuntime with links to JsRuntimeMock documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions