You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}"
});
}
The text was updated successfully, but these errors were encountered:
[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 understandingWorks fine
Crashes the Tigernet.Hosting
The text was updated successfully, but these errors were encountered: