t

astahmer / typed-openapi

You can copy the badge and add it to your README!

Continuous Releases from main
Version Packages (#117) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2 weeks ago94a8848
fix: recursive object type generation (#116)2 weeks agoc40f9ad
chore(BREAKING): rm tanstack local withResponse option cause useMutation cant infer the generics passed at this point so it doesnt have any effect on the output type (it works at runtime but desynchronized with its typing) chore: rename TypedResponseError -> TypedStatusError2 months agob564cd5
Version Packages (#112) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2 months agoce0739d
fix: tanstack inference (#111) * fix: tanstack inference in some edge cases that I could not even reproduce minimally here 😅 * chore: changeset2 months agoe8526b5
chore: run type tests in CI (#110)2 months agod9a896a
Version Packages (#109) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2 months agoefbef40
refactor: fetcher + pass overrides (#108) * wip: allow specifying headers with HeadersInit on any request fix: infer/narrow response with multiple json media types test: typings / inference * fix: properly handle mutation errors while retaining genericity on output based on mutationFn withResponse: true/false test: add more types inference cases chore: update snapshots * feat: decodePathParams/encodeSearchParams/parseResponseData feat: allow passing overrides/withResponse even if there's no endpoint parameters * chore: update snapshots * fix: add overrides?: RequestInit; on mutationFn test: abort signal example * fix: passing signal to tanstack queryFn chore: rm mutationKey/mutationOptions on query fns * chore: update default fetcher2 months ago04a41a6