Skip to content

Commit 4535d1a

Browse files
committed
minor #2155 Update param_fetcher_listener.rst (cedriclombardot)
This PR was submitted for the master branch but it was merged into the 2.x branch instead (closes #2155). Discussion ---------- Update param_fetcher_listener.rst Commits ------- c09b44a Update param_fetcher_listener.rst
2 parents 98f38ec + c09b44a commit 4535d1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Resources/doc/param_fetcher_listener.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ configured for the matched controller so that the user does not need to do this
4242
* @QueryParam(name="sort", requirements="(asc|desc)", allowBlank=false, default="asc", description="Sort direction")
4343
* Will check if a blank value, e.g an empty string is passed and if so, it will set to the default of asc.
4444
*
45+
* @RequestParam(name="nullableSample", nullable=true, description="An example for a nullable entry")
4546
* @RequestParam(name="firstname", requirements="[a-z]+", description="Firstname.")
4647
* Will look for a firstname request parameters, ie. firstname=foo in POST data.
4748
* If not passed it will error out when read out of the ParamFetcher since RequestParam defaults to strict=true
@@ -192,3 +193,4 @@ Container parameters can be used in requirements and default field.
192193
{
193194
...
194195
}
196+

0 commit comments

Comments
 (0)