-
Notifications
You must be signed in to change notification settings - Fork 18
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
Retrieve the database object when posting an entity #34
Comments
Hi, Thanks for raising this, and sorry for the delay getting back. You're right that currently This is inconsistent, because I think it would be good to make this clear and consistent between the methods. For example, maybe something like:
What do you think? Obviously this would be a pretty extremely breaking change. On the other hand, JPA doesn't feel the need for these overloads on the Thanks |
Hi, |
I'm not suggesting that |
Hello,
When posting an entity with Bowman, the post method returns the entity with the resource id field populated via reflexion. However, if there are fields which are directly populated by the database (an auto-increment for example)n the field won't be filled in Bowman.
It's easy to bypass this problem by doing something like this :
I guess it could be usefull to implement something like this directly in Bowman ? What do you think ?
Thank you for this awesome library !
The text was updated successfully, but these errors were encountered: