Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kanarus
Copy link
Member

@kanarus kanarus commented Feb 20, 2025

Before this logic was wrong: not handled generics of type. For example, handler like

async fn handler<R: Repository>(
    Context(r): Context<'_, R>,
) {}

was detected as R> by the bug.

This PR fixes it and now above handler is detected as handler as expected.

@kanarus kanarus merged commit 97d69fc into v0.23.1 Feb 20, 2025
9 checks passed
@kanarus kanarus deleted the fix/openapi/operation-default-operation-id branch February 20, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant