ecyrbe

Results 72 comments of ecyrbe

thank you, will take a look

No solution at the moment.

i think it's a bug, so i'll let it open until fixed

if you need a blob result, you don't need a plugin, just do : ```ts client.download({ responseType: 'blob', }); ``` if you pefer using your plugin, don't attach it globally...

There is not yet exemples for binary downloads in the docs. it can definitely be added. Blob download is just described in client options: http://www.zodios.org/docs/client#request-options i agree, that we could...

Hello @aacitelli, This is due to typescript allowing unknown properties on functions (function matching is contravariant, while here we would like it to be covariant), [check this](https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBALzgMyhEcDkCIBNMDcAUEcAHYwCmUyAhgMaVwCiZuk58A3kXHCJRgALPAC44AIgDmgiXAA+kyAGcYcxRLABXNQqW0Y9Iesm5KAG0GUJxPmANDxqqOSm24USsshlllcQgAdABaeAAqAJ5glACCZBHu9lC0AlRQygD84jFQyREAPDx8fGQp-nDOru58MFHlEgCKWtQRJhIACg5tAEJ4rXoSABKUtGZQNrzFykaUILQBIeF1cQmTAL4AfMRrxCTIWmT0MMAQZPy0ANaUrOwQnPn0p6pwYXCUAB5UbMosbBwUGwAFLQwMBxGEAJRwIoeQRaKBnEHAbYkR6+eBUVQ3f7wAC85yu2LuFEBMNSIlw4mksgANJN7MIqQB6UTAXASOl2WjJEDKcQAbQAupzYd4nuUghAAEYAK0oR1Jkz4bIWZC0ICl1EBEJFJTKC0qZCk2pFax1RDNxCAA): ![image](https://user-images.githubusercontent.com/633115/232594876-f2325829-5947-42c9-8878-b808fa724242.png)

in zodios v11 you'll be able to use as const and satisfies together as [a workaround](https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBALzgMyhEcDkCIBNMDcAUEcAHYwCmUyAhgMaVwCiZuk58A3kXHCJRgALPAC44AIgDmgiXAA+kyAGcYcxRLABXNQqW0Y9Iesm5KAG0GUJxPmANDxqqOSm24USsshlllcQgAdABaeAAqAJ5glACCZBHu9lC0AlRQygD84jFQyREAPDx8fGQp-nDOru58MFHlEgCKWtQRJhIACg5tAEJ4rXoSABKUtGZQNrzFykaUILQBIeF1cQmTAL4AfMRrxCTIWmT0MMAQZPy0ANaUrOwQnPn0p6pwYXCUAB5UbMosbBwUGwAFLQwMBxGEAJRwIoeQRaKBnEHAbYkR6+eBUVQ3f7wAC8cAA2jDUiJcOJpLIADSTezCckAelEwFwEmpdloyRAynEBIAumzYd4nuUghAAEYAK0oR0BML4zIWZC0IDF1EBEIFJTKC0qZCk6oFaw1RDWvLgtB+aOeygMwGUyGAXlho1O5giv1unD5xCAA): ![image](https://user-images.githubusercontent.com/633115/232597222-3b67eb80-b4c6-42a3-9036-d6ac4c3a7d10.png)

If anyone has a solution to this, i'll keep this open in case someone has a working idea

there are some tricks out there to do some kind of strict type matching, but i failed to make them work with type narrowing + tuples. My only hope is...

Nice trick, unfortunately this will impact perf big time. Also we have tuples in objects in tuples in the definition which make this even harder and slower if we where...