Can you use records for request beans? #8294
Answered
by
graemerocher
lbkulinski
asked this question in
Q&A
-
Hello Is there anyway to use records for request beans? Let's say I have a
It would be nice to be able to declare
Unfortunately, using the above leads to a compilation error:
To get this to work, it seems I would need to still use a POJO declaration:
Is there any way to get around this so that I could still use records? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
graemerocher
Nov 6, 2022
Replies: 1 comment 2 replies
-
looks like a bug, please report an issue |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
lbkulinski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
looks like a bug, please report an issue