Skip to content

Conversation

uc4w6c
Copy link
Collaborator

@uc4w6c uc4w6c commented Sep 6, 2022

Description

Example

@RequestMapping("record")
@RestController
public class RecordObjectController {
  @GetMapping
  public String index(@ParameterObject RecordObjectRequest recordObjectRequest) {
    return recordObjectRequest.toString();
  }
}
public record RecordObjectRequest(String id, String name) {}

スクリーンショット 2022-09-06 22 17 44

@uc4w6c uc4w6c force-pushed the support-java-record-for-v1_6 branch from c0274ea to e1f75de Compare September 6, 2022 13:29
@bnasslahsen
Copy link
Collaborator

@uc4w6c,

Thank you for your contribution to the project!

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.

Support Java record for v1.6
2 participants