Skip to content

Conversation

@s1monw
Copy link
Contributor

@s1monw s1monw commented Oct 10, 2013

Currently IndexResponse does not like other responses implement ToXContent and neither a toString method. We should try to be consistent here.

@dadoonet
Copy link
Contributor

+1!

@martijnvg
Copy link
Member

Looks good, but should we do this consistently for all response classes? (moving ToXContent from rest code to response classes and implement toString). Like: UpdateResponse, DeleteResponse, SearchResponse, ExplainResponse, DeleteByQueryResponse etc?

@s1monw
Copy link
Contributor Author

s1monw commented Oct 11, 2013

I completely agree - I will look into this soon hopefully

@s1monw
Copy link
Contributor Author

s1monw commented Mar 24, 2015

closing for now this didn't go anywhere

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.

4 participants