Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(middleware): do not import user middleware if not preset #9057

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

ematipico
Copy link
Member

@ematipico ematipico commented Nov 10, 2023

Changes

Fix #9047

We need to track if the user doesn't have a middleware. If not, we should not attempt to import it.

Testing

I created a new fixture with not user middleware but with integration middlewares.

Docs

N/A

Copy link

changeset-bot bot commented Nov 10, 2023

🦋 Changeset detected

Latest commit: 625c54f

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ematipico ematipico force-pushed the fix/integration-middleware-api branch from 041a7ae to cdfb7c4 Compare November 10, 2023 14:49
@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review labels Nov 10, 2023
@ematipico ematipico force-pushed the fix/integration-middleware-api branch from cdfb7c4 to 625c54f Compare November 10, 2023 14:52
@ematipico ematipico requested a review from matthewp November 10, 2023 14:52
@matthewp matthewp merged commit 1bc3319 into main Nov 10, 2023
13 checks passed
@matthewp matthewp deleted the fix/integration-middleware-api branch November 10, 2023 16:11
@astrobot-houston astrobot-houston mentioned this pull request Nov 10, 2023
@lilnasy
Copy link
Contributor

lilnasy commented Nov 10, 2023

@ematipico Not sure how this was any different from the original iteration. Line 47 is untouched as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't add middleware with integrations
3 participants