Skip to content

How to mark optional query string? #683

Answered by juhaku
theanh098 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, this is related to issue #622. The properties should be nullable by default when Option is used, but it seems that there is some bug that causes properties to be required.

Others has solved this with providing manually the parameter_in = Query attribute for the IntoParams macro.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@theanh098
Comment options

Answer selected by theanh098
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants