Skip to content

Routing should handle multiple template values in an endpoint #69

@ahmedanwar100

Description

@ahmedanwar100

Works fine

[Getter("/show/{id}")]
public object ShowMessage([FromRoute]Guid id)
{
    return Ok(new
    {
        Message = $"Check for dublication of routes {id}"
    });
}

Crashes the Tigernet.Hosting

[Getter("/show/{id}/{name}")]
public object ShowMessage([FromRoute]Guid id, [FromRoute] string name)
{
    return Ok(new
    {
        Message = $"Check for dublication of routes {id},{name}"
    });
}

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions