Skip to content

Conversation

@vincentsarago
Copy link
Member

second try at #9

cc @bitner

"asyncpg>=0.23.0",
"buildpg>=0.3",
"fastapi>=0.73",
"fastapi>=0.77",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need starlette >= 0.18, so updating fastapi


# Remove middlewares https://github.com/encode/starlette/issues/472
app.user_middleware = []
app.middleware_stack = app.build_middleware_stack()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a bug with TestClient and TemplateResponse so we need to 🔪 middleware for testing

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vincentsarago vincentsarago requested a review from bitner June 9, 2022 13:23
@vincentsarago vincentsarago merged commit a502edf into master Jun 13, 2022
@vincentsarago vincentsarago deleted the customTemplateLocation branch June 13, 2022 15:24
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.

3 participants