Skip to content

Conversation

@mayorandrew
Copy link
Contributor

This PR improves the TypeScript/IDE performance of long provider chains, as in this issue: #50, by explicitly simplifying the ChildContext type.

It also fixes the "Type instantiation is excessively deep and possibly infinite" issue:

Without Simplify:
Screen Shot 2023-08-04 at 11 27 10

With Simplify:
Screen Shot 2023-08-04 at 11 28 52

@nirweiner2
Copy link

Hi guys,
Is it getting merged anytime soon?
Thanks.

anba8005 added a commit to anba8005/typed-inject that referenced this pull request Mar 10, 2024
@nicojs nicojs merged commit fa5ee4b into nicojs:master Dec 13, 2024
2 checks passed
nicojs added a commit that referenced this pull request Dec 13, 2024
- Simplify error messages
- Allow for near-infinite deep dependency trees.

Co-authored-by: Nico Jansen <jansennico@gmail.com>
@nicojs
Copy link
Owner

nicojs commented Dec 13, 2024

Thanks for your (unbelievably long) patience. I've been busy with some stuff, but back for a round of maintenance.

@fobdy
Copy link

fobdy commented Dec 15, 2024

The lack of that thing forced us to switch to InversifyJS in 2022 year :)

yurahuchok pushed a commit to yurahuchok/auto-typed-inject that referenced this pull request Apr 7, 2025
- Simplify error messages
- Allow for near-infinite deep dependency trees.

Co-authored-by: Nico Jansen <jansennico@gmail.com>
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.

4 participants