Mark Erikson
Mark Erikson
Yeah, that would definitely add complexity. Also, we're already looking at adding a second generic param to the adapter over in #948 , for defining fields in `adapter.indices`. That PR...
(also, given that you seem to be doing a lot of answering questions regarding RTK, you ought to drop by Reactiflux and say hi to us over in the `#redux`...
Ok, I _think_ this is updated to match Lenz's requests. @phryneas final check on this before I merge it?
Let's go ahead and get this in. @kahirokunn , thanks for the work here!
@MaybeSacred There's a PR in the works for this: https://github.com/reduxjs/redux-toolkit/pull/2266 . We'd appreciate any feedback you have on the API design and behavior!
I'd call it `.withTypes`, myself. (Some parallel with `thunk.withExtraArgument`, for example.)
Frankly, given what happened with Immer, I'm very hesitant to make _any_ changes to our build system for the foreseeable future :( And I'm busy enough with other things that...
As maintainer, my number one concern is **don't break existing code**. I am also sympathetic with "RTK doesn't work in X environment" and want to support that. But given how...
Lovely. Any idea why this version is busted?
@ozrix84 : I'll echo what Lenz said. We do this work in our _free time_, for free. The library code is available under an MIT license that says "you're welcome...