Closed bruceharrison1984 closed 1 month ago
I am actually surprised this worked before the standalone client. Either way, I think it's because of the 4XX status code. I am adding support for such codes in the next release, please let me know if that fixes it for you!
I am adding support for such codes in the next release
Just a note, schemas comprised of numbers only also have issues - they don't generate into compilable code
@kostia1st that sounds like a separate issue no?
@mrlubos yep, just created one
Description
After upgrading to the newer
@hey-api/client-fetch
, thedata
object is correctly typed, but theerror
type is now untyped (previously it was correctly typed)Spec
This is easy enough to work-around by forcibly casting the objects, but I presume this is an oversight.