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

Add withQueryParameters to the RequestBuilder #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tdashton
Copy link

@tdashton tdashton commented Feb 25, 2025

Description

The objective of this PR is to provide a method to add query string parameters to the RequestBuilder.

Details

The query string parameters are read out of the URI in the Symfony Request, so we add a way to add them via the bundle's RequestBuilder.

In order for some types of requests, DELETE for example, it is necessary to provide the query string parameters via the uri in order for them to be parsed correctly in tests. See the details in Symfony's Request and parse_url.

…Request, so we add a way to add them via the bundle's RequestBuilder
@tdashton tdashton force-pushed the add-query-parameters-to-request-builder branch from faf3a11 to 950523c Compare February 25, 2025 10:12
@tdashton tdashton marked this pull request as ready for review February 25, 2025 10:29
@tdashton tdashton requested a review from a team as a code owner February 25, 2025 10:29
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.

1 participant