Skip to content

feat: onSchema will be used new hook implmenetation#3209

Open
kamila-brylewska-zendesk wants to merge 2 commits into
apollographql:mainfrom
kamila-brylewska-zendesk:onSchemaWillBeUsed
Open

feat: onSchema will be used new hook implmenetation#3209
kamila-brylewska-zendesk wants to merge 2 commits into
apollographql:mainfrom
kamila-brylewska-zendesk:onSchemaWillBeUsed

Conversation

@kamila-brylewska-zendesk

@kamila-brylewska-zendesk kamila-brylewska-zendesk commented Feb 10, 2025

Copy link
Copy Markdown
Contributor

Hello,
We need new hook that will notify me just before new schema will be used. I created solution based on current hooks and I updated tests.

It was quick change so I didn't create issue.

@changeset-bot

changeset-bot Bot commented Feb 10, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 014bde4

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

This PR includes changesets to release 7 packages
Name Type
@apollo/gateway Minor
@apollo/federation-internals Minor
@apollo/composition Minor
@apollo/query-planner Minor
@apollo/query-graphs Minor
@apollo/subgraph Minor
apollo-federation-integration-testsuite Minor

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

@svc-apollo-docs

svc-apollo-docs commented Feb 10, 2025

Copy link
Copy Markdown

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 41c40df222b3d24eaf563281

@codesandbox-ci

codesandbox-ci Bot commented Feb 10, 2025

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Comment thread .changeset/metal-colts-begin.md Outdated
"@apollo/gateway": minor
---

feat: onSchema will be used new hook implementation

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should be "add onSchemaWillBeUsed hook. Consumers can use this new hook to trigger custom logic just before a new schema is passed to the Gateway executor`

@kamila-brylewska-zendesk
kamila-brylewska-zendesk marked this pull request as ready for review February 10, 2025 10:22
@kamila-brylewska-zendesk
kamila-brylewska-zendesk requested a review from a team as a code owner February 10, 2025 10:22
@dariuszkuc
dariuszkuc requested a review from a team as a code owner November 4, 2025 19:38
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.

3 participants