Skip to content

Conversation

kochrt
Copy link

@kochrt kochrt commented May 10, 2017

Given how common json data is in POST requests; would be nice to it available without having to parse it yourself.

Accompanies PerfectlySoft/Perfect-HTTPServer#10

@mxcl
Copy link

mxcl commented Jul 13, 2018

This PR is over a year old with no comments or activity.

I am considering committing to Perfect as a solution for a system I am working on and this stale PR is worrying to me.

Can a maintainer chime in?

@kjessup
Copy link
Member

kjessup commented Jul 13, 2018

Hello, sorry for the lack of feedback on this. We had added the following quite a while ago and, in my opinion, it took care of this need:

https://github.com/PerfectlySoft/Perfect-HTTP/blob/master/Sources/PerfectHTTP/TypedRoutes.swift#L89

It lets you decode the body in a more type-safe manner. I'm open-ish to adding what this PR proposes, but it seems a little redundant given the above. Thoughts?

@mxcl
Copy link

mxcl commented Jul 13, 2018

Thanks for the response, I wanted to gauge the pulse of the project. I agree this PR is no longer needed. Close it?

@kochrt
Copy link
Author

kochrt commented Jul 13, 2018

I'm ok with that.

@kochrt kochrt closed this Jul 13, 2018
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.

3 participants