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

chore: introduce query-params service to remove strapi.global dep in … #19911

Merged
merged 1 commit into from Mar 25, 2024

Conversation

alexandrebodin
Copy link
Member

…utils

What does it do?

  • Introduce query-params service to expose query param transformation in the context of the strapi app & remove the need for the strapi global inside the utils.

  • Next step move the conversion code where it makes more sense (TBD in another PR)

@alexandrebodin alexandrebodin added source: core:utils Source is core/utils or utils packages pr: chore This PR contains chore tasks (cleanups, configs, tooling...) source: core:core Source is core/core labels Mar 25, 2024
@alexandrebodin alexandrebodin self-assigned this Mar 25, 2024
@Marc-Roig
Copy link
Contributor

do we plan to have a transform query to params? If so, could it be useful to name this method transformParamsToQuery now?

Copy link

vercel bot commented Mar 25, 2024

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

Name Status Preview Comments Updated (UTC)
contributor-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 25, 2024 1:10pm

@alexandrebodin
Copy link
Member Author

do we plan to have a transform query to params? If so, could it be useful to name this method transformParamsToQuery now?

There should only be one direction params -> query 🤔

@alexandrebodin alexandrebodin merged commit d362bf2 into v5/main Mar 25, 2024
88 of 92 checks passed
@alexandrebodin alexandrebodin deleted the v5/utils-refactors branch March 25, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: chore This PR contains chore tasks (cleanups, configs, tooling...) source: core:core Source is core/core source: core:utils Source is core/utils or utils packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants