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

Mongo sync guide #528

Merged
merged 12 commits into from Oct 13, 2021
Merged

Mongo sync guide #528

merged 12 commits into from Oct 13, 2021

Conversation

sdelamo
Copy link
Contributor

@sdelamo sdelamo commented Sep 15, 2021

No description provided.

@sdelamo sdelamo added this to In progress in Guides via automation Sep 15, 2021
@sdelamo sdelamo added this to In progress in Micronaut Developers Work Coordination via automation Sep 15, 2021
@sdelamo sdelamo moved this from In progress to Review in progress in Guides Sep 15, 2021
@sdelamo sdelamo moved this from Review in progress to To do in Guides Sep 15, 2021
@sdelamo sdelamo moved this from To do to In progress in Guides Sep 15, 2021
Guides automation moved this from In progress to Review in progress Sep 15, 2021
Micronaut Developers Work Coordination automation moved this from In progress to Review in progress Sep 15, 2021
Comment on lines +25 to +27
public void save(@NonNull @NotNull @Valid Fruit fruit){
getCollection().insertOne(fruit);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if this is possible or not but I think it would be better if you add an id field to Fruit (probably an UUID) and configure the POJO (or Mongo) to assign it automatically.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would prefer to have different POJOs. I would like to use the same POJO for the controller layer and the persistence layer.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we could do this as an improvement after the guide is published.

Guides automation moved this from Review in progress to Reviewer approved Sep 16, 2021
Micronaut Developers Work Coordination automation moved this from Review in progress to Reviewer approved Sep 16, 2021
@sdelamo
Copy link
Contributor Author

sdelamo commented Sep 16, 2021

@kroegerk could you do a proofread ?

@sdelamo sdelamo moved this from Reviewer approved to Proofreading in Guides Sep 16, 2021
Just a couple of minor changes.
@sdelamo sdelamo moved this from Proofreading to Waiting for Marketing in Guides Sep 21, 2021
@sdelamo sdelamo added the status: awaiting third-party Awaiting changes to a third party library label Sep 21, 2021
@sdelamo
Copy link
Contributor Author

sdelamo commented Sep 21, 2021

@kroegerk I have updated this sentence 126b1b3

@sdelamo sdelamo merged commit 3c7286a into master Oct 13, 2021
@sdelamo sdelamo deleted the mongoguide branch October 13, 2021 18:14
Guides automation moved this from Waiting for Marketing to Done Oct 13, 2021
Micronaut Developers Work Coordination automation moved this from Reviewer approved to Done Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: awaiting third-party Awaiting changes to a third party library
Development

Successfully merging this pull request may close these issues.

None yet

5 participants