Skip to content

chore: Improve Plugins.getOrNull #80

@0ffz

Description

@0ffz

Currently it cannot get plugins via a superclass, which causes issues when plugins only expose an interface but not their exact impl. This interface might also not extend Plugin, so the generic type should reflect this too.

Possible solutions:

  • Do an is check for each plugin instead of checking if classes are exactly equal, or use reflection in worst case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions