-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- You cant work on this issue until issue [Getter("api/{id}")] httpMethod can work with string interpolation as ASP.NET Core #1, If we give param as Guid in GET, POST, PUT, DELETE requests then Tigernet.Hosting crashes #68 is resolved.
- Currently, we have handled the routing for the use-case
[Getter("/show/{id}")]and it works fine but when we try to make multiple templates in a route then the application crashes. See the example and screenshot for more understanding
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}"
});
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
