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

breaking: move shared HTTP utils to the framework #9402

Merged
merged 18 commits into from
Oct 3, 2024

Conversation

thetutlage
Copy link
Contributor

@thetutlage thetutlage commented Oct 1, 2024

Fixes: FRMW-2728, FRMW-2729

After this PR gets merged the following middleware will be exported from the @medusajs/framework/http import path.

  • applyParamsAsFilters
  • clearFiltersByKey
  • applyDefaultFilters
  • setContext
  • getQueryConfig
  • httpCompression
  • maybeApplyLinkFilter
  • refetchEntities
  • unlessPath
  • validateBody
  • validateQuery

@thetutlage thetutlage requested a review from a team as a code owner October 1, 2024 09:35
Copy link

vercel bot commented Oct 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference 🔄 Building (Inspect) Visit Preview 💬 Add feedback Oct 3, 2024 9:27am
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2024 9:27am
5 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference-v2 ⬜️ Ignored (Inspect) Visit Preview Oct 3, 2024 9:27am
docs-ui ⬜️ Ignored (Inspect) Visit Preview Oct 3, 2024 9:27am
docs-v2 ⬜️ Ignored (Inspect) Visit Preview Oct 3, 2024 9:27am
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Oct 3, 2024 9:27am
resources-docs ⬜️ Ignored (Inspect) Visit Preview Oct 3, 2024 9:27am

Copy link

changeset-bot bot commented Oct 1, 2024

⚠️ No Changeset found

Latest commit: 86c6f3e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@thetutlage thetutlage changed the title feat: export utils and types from subpath exports feat: move shared HTTP utils to the framework Oct 2, 2024
@thetutlage thetutlage changed the title feat: move shared HTTP utils to the framework breaking: move shared HTTP utils to the framework Oct 3, 2024
@kodiakhq kodiakhq bot merged commit 48e0016 into develop Oct 3, 2024
23 checks passed
@kodiakhq kodiakhq bot deleted the feat/export-validators branch October 3, 2024 09:42
panalgin pushed a commit to vennyx-org/medusa that referenced this pull request Oct 7, 2024
Fixes: FRMW-2728, FRMW-2729

After this PR gets merged the following middleware will be exported from the `@medusajs/framework/http` import path.

- applyParamsAsFilters
- clearFiltersByKey
- applyDefaultFilters
- setContext
- getQueryConfig
- httpCompression
- maybeApplyLinkFilter
- refetchEntities
- unlessPath
- validateBody
- validateQuery

Co-authored-by: Adrien de Peretti <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants