Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[atomic-router] Добавить в freshChain и startChain вторым параметром mapParams #464

Open
xaota opened this issue Apr 4, 2024 · 1 comment

Comments

@xaota
Copy link

xaota commented Apr 4, 2024

const postQuery = createQuery({ handler, initialData });

chainRoute({
  route: postRoute,
  ...startChain(postQuery), // тут хочется еще сделать mapParams
});
@igorkamyshev
Copy link
Owner

I've investigated it a bit, and I do not think it's possible to implement right now because of TS limitations 👇

#468 (comment)

However, If you find a way, please let me know, and let's start with a type-tests because it is the most enduring challenge in the proposed API design.

@igorkamyshev igorkamyshev removed this from the v1.0 milestone Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants