I have this code, with that error message:
`
pub async fn all_patients(
TypedHeader(hx): TypedHeader,
Extension(db): Extension<Arc>,
... // other params
) -> Result<impl IntoResponse, AppError> {
...
if hx { // <-- "Mismatched types expected 'bool', found 'HxRequest'
...
} else {
...
}
}
`
Seems to me like I can't use both libraries together... Any ideas?