Skip to content

Cannot match arbitrary path segments #2

@heaths

Description

@heaths

Seems modelcontextprotocol/csharp-sdk#821 was not fixed since I can't use a UriTemplate like samples://{dependency}/{/path+} or samples://{dependency}/{path*} or several other variations based on the URI template level.

Instead, either do #1 or just have the samples tool return file:/// resources to the actual files on disk. The only downside with the latter is that VSCode lets us browse resources via the command bar, which might be kind of handy in some cases. Still, all our resource handler is currently doing is proffering local file system paths; though, perhaps eventually it could pull online content as well so maybe it's worth it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions