param fetcher convert integer query parameters to strings
i have this annotation @queryParam(name="page", requirements="\d+", nullable=true, default=1, allowBlank=false) i expect page to be integer but the value i get by $paramFetcher->get('page') is string am i missing something or it is intended behaviour?
requirements="\d+" is only for validation so I think that it is the intended behaviour.
Having the same issue when upgrading from 1.7 to latest.
@ruudk Are you sure that this worked differently in 1.7?
No sorry, something else changed. When you have allow blank without nullable the value becomes an empty string, that changed between 1.7 and up. Sorry for confusion.
Esta tarea nunca se soluciono?
@gonzaloalonsod You're commenting on an issue from 2018 .... in Spanish. Come on.