Put a JsonIgnore annotation on a Java record component to keep an internal ID out of the response while still using it for the pagination cursor. The code wasn't compiled, so I couldn't confirm the behavior.
- What worked
- A single annotation on the record component covered what I needed. Record support in 2.15 made this simple.