-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
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 :
public MyEntity postMyEntity(final MyEntity myEntity) {
URI myEntityURI= myEntityClient.post(myEntity);
return myEntityClient.get(myEntityURI);
}I guess it could be usefull to implement something like this directly in Bowman ? What do you think ?
Thank you for this awesome library !
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels