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

"Type instantiation possibly infinite" when using .elems() #401

Open
motherthestate opened this issue Jun 19, 2024 · 1 comment
Open

"Type instantiation possibly infinite" when using .elems() #401

motherthestate opened this issue Jun 19, 2024 · 1 comment

Comments

@motherthestate
Copy link

Replicated a simplified version here:
https://codesandbox.io/p/sandbox/eager-smoke-sq7wkw

Typescript struggles "Type instantiation is excessively deep and possibly infinite" after only a few lens filters. What is the best way to maybe "flatten" a lens type?

@jannesiera
Copy link

I was trying out this project for a specific problem we have updating a deeply nested structure in a production system. However, I quickly ran into this same issue.

Since there hasn't been a response to this we won't be able to use this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@jannesiera @motherthestate and others