Skip to content

Handle ASGI apps without route templates#105

Draft
Mirochill wants to merge 1 commit into
claws:masterfrom
Mirochill:fix-102-asgi-routes-fallback
Draft

Handle ASGI apps without route templates#105
Mirochill wants to merge 1 commit into
claws:masterfrom
Mirochill:fix-102-asgi-routes-fallback

Conversation

@Mirochill

Copy link
Copy Markdown

Summary

  • avoid assuming ASGI apps expose Starlette/FastAPI-style routes when resolving template paths
  • fall back to the full request path for apps without route templates, such as Connexion middleware wrappers
  • add regression coverage for an app object without routes

Fixes #102

Validation

  • Not run locally
  • Static validation only: git diff --check

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.

'ConnexionMiddleware' object has no attribute 'routes'

1 participant