Skip to content

Fix body params in GET request when using complex query string#1534

Merged
jeremydmiller merged 1 commit intoJasperFx:mainfrom
Damix48:fix-complex-querystring-in-get
Jun 27, 2025
Merged

Fix body params in GET request when using complex query string#1534
jeremydmiller merged 1 commit intoJasperFx:mainfrom
Damix48:fix-complex-querystring-in-get

Conversation

@Damix48
Copy link
Contributor

@Damix48 Damix48 commented Jun 27, 2025

Now in GET request the [FromQuery] complex object is duplicated in the body.

image

I removed chain.RequestType = parameter.ParameterType; but i'm not sure if it is used for something else. In that case maybe a solution is creating something similar to public bool IsFormData { get; internal set; } in HttpChain.cs

@jeremydmiller jeremydmiller merged commit 508d151 into JasperFx:main Jun 27, 2025
1 check passed
@jeremydmiller
Copy link
Member

Thank you for spotting that

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.

2 participants