You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i got this error after upgrade plug from 1.9.0 to 1.10.0, it seems in plug@1.10.0(and later versions) request parameter values are always strings (same code base works fine with plug@1.9.0) ?
i do need integer parameter for my GraphQL endpoint, currently it just broken the tests
i have checked the #966 and #941, but the problem is still the same and quite confused
Yes, the browser will always send strings for www-form, so the tests were changed to mirror that. You need to explicitly cast or convert it to an integer before, or change your tests to pass a body+content-type that will parse it as an integer, such as JSON.
hi there ~
i got this error after upgrade plug from 1.9.0 to 1.10.0, it seems in plug@1.10.0(and later versions) request parameter values are always strings (same code base works fine with plug@1.9.0) ?
i do need integer parameter for my GraphQL endpoint, currently it just broken the tests
i have checked the #966 and #941, but the problem is still the same and quite confused
env info:
The text was updated successfully, but these errors were encountered: