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

4.x: Support for optional entity in Níma. #5200

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

tomas-langer
Copy link
Member

This is useful when integrating with databases, where a repository API returns an Optional, and we can simply send it to response.
If this method does not exist on ServerRespose, developer must unpack each Optional returned from any API and handle the 404 manually.

Signed-off-by: Tomas Langer tomas.langer@oracle.com

@tomas-langer tomas-langer added webserver 4.x Version 4.x Níma Helidon Níma labels Oct 17, 2022
@tomas-langer tomas-langer self-assigned this Oct 17, 2022
danielkec
danielkec previously approved these changes Oct 18, 2022
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
@romain-grecourt romain-grecourt dismissed stale reviews from danielkec and themself via 52a66c2 October 19, 2022 00:51
@barchetta barchetta added 4.x Version 4.x and removed 4.x Version 4.x labels Oct 19, 2022
@barchetta barchetta changed the title Support for optional entity in Níma. 4.x: Support for optional entity in Níma. Oct 19, 2022
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 19, 2022
@tomas-langer tomas-langer merged commit 90554ba into helidon-io:main Oct 21, 2022
@tomas-langer tomas-langer deleted the optional-entity branch October 21, 2022 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x Níma Helidon Níma OCA Verified All contributors have signed the Oracle Contributor Agreement. webserver
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants