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

fix: Ensure correct EditorBlock.type field resolution #316

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

justlevine
Copy link
Contributor

What

This PR fixes a regression in #285 where the type field was exposed with no resolve method, cause the field to always return null.

Why

In the upstream branch I'm hydrating blocks with a model, but we need an explicit resolve function until that's merged.

@justlevine justlevine requested a review from a team as a code owner November 28, 2024 14:36
Copy link

changeset-bot bot commented Nov 28, 2024

🦋 Changeset detected

Latest commit: 3631d6c

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

This PR includes changesets to release 1 package
Name Type
@wpengine/wp-graphql-content-blocks Patch

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

@theodesp
Copy link
Member

theodesp commented Dec 3, 2024

Ta!

@theodesp theodesp closed this Dec 3, 2024
@theodesp theodesp reopened this Dec 3, 2024
@theodesp theodesp merged commit 9a2ebf7 into wpengine:main Dec 3, 2024
10 of 11 checks passed
@justlevine justlevine deleted the fix/type-field-resolution branch December 3, 2024 13: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.

2 participants