Skip to content

Conversation

snowykte0426
Copy link

Summary

This PR implements support for Spring MVC's @ModelAttribute annotation in Spring HATEOAS QueryParameter, addressing issue #1240.

Changes Made

  • Extended QueryParameter.of() to handle @ModelAttribute annotations (both explicit and implicit)

- Extended QueryParameter.of() to handle @ModelAttribute annotations
- Added support for explicit and implicit @ModelAttribute parameters
- Implemented RFC6570 explode modifier for composite values
- Updated SpringAffordanceBuilder to include @ModelAttribute parameters
- Added comprehensive tests for new functionality
Supports both simple form style and composite value representations:
- Simple: {?field1,field2,field3}
- Composite with explode: {?myClass*}

Signed-off-by: Kim Tae Eun <[email protected]>
@snowykte0426 snowykte0426 marked this pull request as ready for review September 8, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant