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
Mostly to fix #1093, but more specific issue for the refactoring I think should solve it.
The metadata used for rendering builds and source files doesn't currently pull enough details from the database for this, I think it might make the most sense to make both of them get the full CrateDetails and move the is_latest_version etc. checking into Tera helpers rather than being extra context variables, removing the separate MetaData struct at the same time.
The text was updated successfully, but these errors were encountered:
I was thinking if this would be even possible using a axum extractor. Or at the very least put it into a shared function that has to return redirects as errors to return early from the handler.
Mostly to fix #1093, but more specific issue for the refactoring I think should solve it.
The metadata used for rendering builds and source files doesn't currently pull enough details from the database for this, I think it might make the most sense to make both of them get the full
CrateDetails
and move theis_latest_version
etc. checking into Tera helpers rather than being extra context variables, removing the separateMetaData
struct at the same time.The text was updated successfully, but these errors were encountered: