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
using a wildcard path is the only way to handle 404 errors in tide as far as i'm aware. however, tide ignores nested endpoints and treats them like undefined paths.
thread 'main' panicked at 'assertion failed: `(left == right)`
left: `"404"`,
right: `"shoes"`', src\main.rs:15:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
using tide version 0.16.0 at the time of writing this.
/orders/shoes is handled and should return "shoes" but instead it is ignored and returns "404". this is not the case with non nested routes such as /hello in the example.
The text was updated successfully, but these errors were encountered:
using a wildcard path is the only way to handle 404 errors in tide as far as i'm aware. however, tide ignores nested endpoints and treats them like undefined paths.
here's an example:
which returns:
using tide version
0.16.0
at the time of writing this./orders/shoes
is handled and should return "shoes" but instead it is ignored and returns "404". this is not the case with non nested routes such as/hello
in the example.The text was updated successfully, but these errors were encountered: