Skip to content

chore: Improve Plugins.getOrNull #80

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

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions