Allow BindParam on a field

See gh-30947
This commit is contained in:
rstoyanchev 2023-08-03 15:11:08 +03:00
parent 8513ec7440
commit ad80b94e14
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ import java.lang.annotation.Target;
* @since 6.1 * @since 6.1
* @see org.springframework.web.bind.WebDataBinder#construct * @see org.springframework.web.bind.WebDataBinder#construct
*/ */
@Target(ElementType.PARAMETER) @Target({ElementType.PARAMETER, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Documented @Documented
public @interface BindParam { public @interface BindParam {