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

fix: revert 2218 to fix ts excessively deep types #2234

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

coolsoftwaretyler
Copy link
Collaborator

What does this PR do and why?

This PR closes #2230, by reverting #2218. That means we'll have to repoen #2216, unfortunately.

In the long term, we'll want to fix these types at the root of the repository. But since we don't have a full roadmap for that, we are going to make a practical choice to prioritize fixing #2230 over fixing #2216.

For anyone who prefers the older fix, you can either patch the package yourself, or run from v7.0.0, which will still be available and have #2218 available in its source code.

Steps to validate locally

Tests should pass, old behavior should be restored. I have modified __tests__/core/2230.test.ts to include all of the reproducing code from #2230.

Copy link
Collaborator

@thegedge thegedge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@coolsoftwaretyler coolsoftwaretyler merged commit f8bb147 into master Dec 18, 2024
1 check passed
@coolsoftwaretyler coolsoftwaretyler deleted the fix/revert-2218 branch December 18, 2024 15:24
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

Successfully merging this pull request may close these issues.

v7.0.0. type instantiation is excessively deep and possibly infinite
2 participants