Skip to content

Conversation

JliptonRTR
Copy link
Contributor

…ject itself

@aikidojohn
Copy link
Owner

How do you envision this being used by the service?

Copy link
Owner

Choose a reason for hiding this comment

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

This isn't the same object mapper configured by Dropwizard. It may deserialize things differently than the service serializes them. I think there is a way to get the ObjectMapper, but I don't know it off the top of my head. Will look into it.

@JliptonRTR
Copy link
Contributor Author

The resource will take in whatever object they are looking for. So right now in godmother, we have User object being passed into the PATCH request.
@patch
@path("/{id}")
public User updateUser(@Auth AuthUser clientApplication, @PathParam("id") long id, User user)

The resource does nothing with id or type, it just reads the object it is looking for.

zain-cheng pushed a commit that referenced this pull request Jun 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants