For now using the function variant as suggested by...
# spring
s
For now using the function variant as suggested by @dh44t is probably the best way to handle that. I need to have a deeper look with Spring Framework team for native support, I tend to think that will be supported but no commitment yet.