Skip to content

Is it possible to define custom handler? #23

Closed

Description

@emil14

Fix me if I'm wrong but on a client I can do client.sendRequest("foobar", {}) which mean it should be possible to defined custom handler. But looking at Handler interface implementation in the lib it looks like there's a switch that simply do return in case there is no match with predefined paths. Or Am I wrong?

Activity

  1. semanticart commented on Feb 28, 2024

    @semanticart

    I'm also curious about this. Non-standard methods not super uncommon (the ruby-lsp recently added a method for getting dependencies, for instance).

  2. tliron commented on Feb 29, 2024

    @tliron
    Owner

    Hm, it's honestly something I did not know. I can think of a potential design for this, but very happy to review a PR to add this!

  3. tris203 commented on Jun 28, 2024

    @tris203
    Collaborator

    I am working on an implementation where I would also like this. I would be happy to work on a PR. Do you have a breif overview of the design you were thinking of for this @tliron just to make sure we are aligned?

  4. tliron commented on Jun 28, 2024

    @tliron
    Owner

    How about we turn this issue into a discussion and share design ideas?

  5. tris203 commented on Jun 28, 2024

    @tris203
    Collaborator

    How about we turn this issue into a discussion and share design ideas?

    Sure

  6. Repository owner locked and limited conversation to collaborators on Jun 28, 2024
  7. converted this issue into a discussion #31 on Jun 28, 2024
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