Hadrien Milano

Results 49 comments of Hadrien Milano

Hi @vincentjocodes, this is strange. Can you let me know which version of runtypes you are using?

This looks like a bug. Can you provide a practical example where having `void` instead of `undefined` causes problems?

Good find. Yes this is legit. Actually this is pretty bad because in the server all parameters are typed as `string` and not `string | undefined`, but the route will...

Maybe there should be a runtime type check for request query parameters, similar to the one available for request body with runtypes. The thing is: query params are user input...

This is a niche use case, although it makes complete sense. There is some other work I'd like to prioritise before getting into this kind of refinement.

Thanks @jacobdr . I appreciate you taking the time to investigate this issue.

Hi @jacobdr, Thank you for spending the time to research this problem. It appears that express has finally received some support for typed requests. As you can see I had...

That's an excellent question. As you can see, the PR is over a year old so I don't recollect the context around it. If the code here works for you...

json4s is meant to be the go to way to represent JSON data in Scala. If all libraries use this, it will ease interoperability and reduce the number of different...

Nevermind, json4s v4 is scheduled for december so this will have to wait.