Skip to content

Fixed implicit marshalling of Either results with proper status setting - #27

Open
rajish wants to merge 1 commit into
eigengo:masterfrom
rajish:marshaller-fix
Open

Fixed implicit marshalling of Either results with proper status setting#27
rajish wants to merge 1 commit into
eigengo:masterfrom
rajish:marshaller-fix

Conversation

@rajish

@rajish rajish commented Oct 7, 2014

Copy link
Copy Markdown

Currently the implicit def errorSelectingEitherMarshaller[A, B](implicit ... conversion is never used in the code hence there's no proper setting of the request status code. Refer to the spray documentation on ToResponseMarshaller

Also the once the conversion started working the only code returned was '500 Internal Server Error', so the result code setting had to be corrected, too.

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.

1 participant