One would expect that if we set a default value on any of request's get_param_*() methods that these would be stored if a store is also specified.
Instead you have to explicitly store the return value into your desired store.
Hi :wave:,
Thanks for using Falcon. The large amount of time and effort needed to
maintain the project and develop new features is not sustainable without
the generous financial support of community members like you.
Please consider helping us secure the future of the Falcon framework with a
one-time or recurring donation.
Thank you for your support!
Hi @omwbennett !
And thanks for this design proposal, I will mark it accordingly.
FWIW, the current behaviour is clearly documented to work against your expectation:
A
dict-like object in which to place the value of the param, but only if the param is found
Most helpful comment
Hi @omwbennett !
And thanks for this design proposal, I will mark it accordingly.
FWIW, the current behaviour is clearly documented to work against your expectation: