Ben Durrant
Ben Durrant
on a more positive note, the fact that this project exists at all is very cool, and a major reason why I wanted a docusaurus site for my package vs...
could you give an example of some code that's throwing the error, and the longer TS error message?
closing as i can't seem to get this happy, and having extraOptions only support optional properties isn't the end of the world - required config can be returned from `query`...
I would consider it an implementation detail, but I think the chances of us changing it in practice are low.
`errorResponseSchema` is for *after* transformation, if any. For validation *before* transformation, use `rawErrorResponseSchema`. Annoyingly our docblocks plugin seems to be acting up, so the [docs](https://redux-toolkit.js.org/rtk-query/api/createApi#rawerrorresponseschema) are missing the description for...
> Do you think we can do something about it? :) Like add an optional `key` to `injectEndpoints`? What would happen if the key is accidentally the same? What's the...
cool - if you have any ideas for how to make the docs any clearer, I'm sure a PR would be welcome :)
> @markerikson in our case for a larger application, we have never wanted to override the endpoint. In this case, it would be preferrable to throw an error, as we...
closing in favour of https://github.com/reduxjs/redux-toolkit/pull/4651
> Thanks your for this PR! I think I would recommend using a library like `decode-formdata` instead for such use cases: https://github.com/fabian-hiller/decode-formdata > > What do you think? For more...