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

feat: onSchema will be used new hook implmenetation #3209

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kamila-brylewska-zendesk
Copy link
Contributor

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

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.

Copy link

changeset-bot bot commented Feb 10, 2025

🦋 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
Copy link
Collaborator

svc-apollo-docs commented Feb 10, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 41c40df222b3d24eaf563281

Copy link

codesandbox-ci bot commented Feb 10, 2025

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.

"@apollo/gateway": minor
---

feat: onSchema will be used new hook implementation
Copy link
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
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