-
Notifications
You must be signed in to change notification settings - Fork 92
Refactor and rework http coercion. #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Refactor and rework http coercion
|
@STRML released in |
|
This seems to break parsing of array in bulk creation somehow, our use case is using an array in the remote create for bulk creation and we expand the given array when a condition matches. ctx.req.body: ctx.args.data: |
|
@bajtos #231 had two commits, STRML@6ffa963 and STRML@b1037d1, this only brought in one. |
|
Somebody came into Gitter tonight and complained that new strong-remoting is breaking Relevant code: df59c64#diff-2fe12acc9dbfa09c6fb0e901266cf5e7R117 Forgive me if I'm off base here - I'm not following this PR, but since the merge happened so recently I thought it might be relevant to toss in here despite having not gotten fully familiar. |
|
This is true. The issue is that this merge was part of |
|
For future readers coming to this thread, I have reverted this pull request in #269, the issues should be gone starting from |
This patch brings back #231 which was force-pushed away, probably by an accident.
/cc @STRML @ritch
This fixes a number of subtle bugs and restricts "sloppy"
argument coercion (e.g. 'true' to the bool true) to string-only
HTTP datasources like querystrings and headers.
Fixes #223 (coerced Number past MAX_SAFE_INTEGER)
Possible fix for #208