Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update roq-data documentation #48

Closed
wants to merge 0 commits into from
Closed

Conversation

mcruzdev
Copy link
Member

@mcruzdev mcruzdev commented Jul 31, 2024

Fixes #47

@mcruzdev mcruzdev requested a review from a team as a code owner July 31, 2024 23:00
public record Data(String name, String description) {}
----

Inject the `Data` record into a resource class.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only comment is the Data pojo too generic. Should it be something real world like Car. Only because users might think it needs to be called Data or something like that?

----
{
"name": "Gol",
"age": 1994
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name and age should be "make" and "year" for a Car

@mcruzdev mcruzdev closed this Aug 1, 2024
@mcruzdev mcruzdev reopened this Aug 1, 2024
@mcruzdev mcruzdev force-pushed the issue-47 branch 2 times, most recently from be50908 to e76e51d Compare August 1, 2024 03:53
@mcruzdev mcruzdev closed this Aug 1, 2024
@mcruzdev mcruzdev deleted the issue-47 branch August 1, 2024 04:08
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.

Update roq-data documentation
2 participants