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

Swap put and post methods #20394

Merged
merged 1 commit into from Sep 28, 2021
Merged

Swap put and post methods #20394

merged 1 commit into from Sep 28, 2021

Conversation

isaul32
Copy link
Contributor

@isaul32 isaul32 commented Sep 26, 2021

I swap put and post methods in validation guide. I think it makes more sense this way. Put method is idempotent and returns the same result when used with update. Instead, post method returns a new instance with a new id, so it isn't idempotent.

@yrodiere
Copy link
Member

You are right, I got it all mixed up.

Would you mind also fixing the corresponding tests, added in fecb3b0 ?

@isaul32
Copy link
Contributor Author

isaul32 commented Sep 27, 2021

Sure. I'll fix it today.

@isaul32
Copy link
Contributor Author

isaul32 commented Sep 27, 2021

Done. @yrodiere

Copy link
Member

@yrodiere yrodiere left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM.

@yrodiere yrodiere added triage/waiting-for-ci Ready to merge when CI successfully finishes triage/backport-2.2? labels Sep 28, 2021
@geoand geoand merged commit e1ea358 into quarkusio:main Sep 28, 2021
@quarkus-bot quarkus-bot bot added this to the 2.4 - main milestone Sep 28, 2021
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Sep 28, 2021
@geoand geoand modified the milestones: 2.4 - main, 2.3.0.Final Sep 28, 2021
@gsmet gsmet modified the milestones: 2.3.0.Final, 2.2.4.Final Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants