Skip to content

Lazy module providers#2563

Merged
kamilkisiela merged 2 commits into
masterfrom
kamil-lazy-module-providers
Feb 19, 2025
Merged

Lazy module providers#2563
kamilkisiela merged 2 commits into
masterfrom
kamil-lazy-module-providers

Conversation

@kamilkisiela
Copy link
Copy Markdown
Collaborator

BREAKING Providers of each module are now resolved of upon application creation.

This makes Dependency Injection less strict and not dependent on the order of module imports (hello circular imports).

BREAKING Removed providers, operationProviders and singletonProviders from the Module interface (unlikely you were using them).

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 19, 2025

🦋 Changeset detected

Latest commit: d6cc894

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
graphql-modules Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
graphql-modules 3.0.0-alpha-20250219090434-d6cc8940d97c7ef3dba3f59c56376d7cbab77c83 npm ↗︎ unpkg ↗︎

@github-actions
Copy link
Copy Markdown
Contributor

💻 Website Preview

The latest changes are available as preview in: https://a8b05793.graphql-modules.pages.dev

@kamilkisiela kamilkisiela merged commit f40de70 into master Feb 19, 2025
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.

1 participant