DarrenBaldwin07 / clerk-rs

A official community-maintained Clerk SDK for Rust
https://crates.io/crates/clerk-rs
MIT License
76 stars 24 forks source link

[bug] make dynamic routes work properly #49

Closed after-ephemera closed 3 months ago

after-ephemera commented 3 months ago

to_string would result in a URL like myclerkdomain.com/rest/v1GetUser instead of the proper myclerkdomain.com/rest/v1/user/{user_id}. This uses the enum fn as_str to get the proper path for a given endpoint.

This PR stacks on https://github.com/DarrenBaldwin07/clerk-rs/pull/48