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
Hi,
I was wondering how difficult it would be to enable templates like #[get("https://api.github.com/repos/{self.path}")].
This can be useful to not store URL's as const like the GITHUB example.
My usecase would be a bit more advanced, where a struct stores AUTH JWT's and adds the JWT as a header, which is stored in self.
What are your thoughts?
The text was updated successfully, but these errors were encountered:
Hi,
I was wondering how difficult it would be to enable templates like
#[get("https://api.github.com/repos/{self.path}")]
.This can be useful to not store URL's as const like the GITHUB example.
My usecase would be a bit more advanced, where a struct stores AUTH JWT's and adds the JWT as a header, which is stored in self.
What are your thoughts?
The text was updated successfully, but these errors were encountered: