Skip to content

add typescript api checks for provider provided value - #2684

Draft
n1ru4l wants to merge 3 commits into
masterfrom
provider-typings
Draft

add typescript api checks for provider provided value#2684
n1ru4l wants to merge 3 commits into
masterfrom
provider-typings

Conversation

@n1ru4l

@n1ru4l n1ru4l commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Add typescript validation of the provided useValue for the provide value.
Add defineProviders helper to enforce validation when the dependency list definition is decoupled from the createApplication call.
All changes are covered with a typescript type-check test suite.

@github-actions

Copy link
Copy Markdown
Contributor

💻 Website Preview

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

@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.2.0-alpha-20260712090108-c3446746cbb6fd1dfccad8a6b96eeaee85d2fa83 npm ↗︎ unpkg ↗︎

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