Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(schema): Ensure that resolveResult and resolveExternal are run as around hooks #3032

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

daffl
Copy link
Member

@daffl daffl commented Jan 31, 2023

#3004 introduced a change in the hook order to fix a regression in compatibility with v4. However, this breaks some app generated with v5 pre releases where resolveResult and resolveExternal were registered as after hooks. Since resolveResult should be used as an around hook anyway for proper virtual property support, they will now throw an error if they are used as after hooks.

@netlify
Copy link

netlify bot commented Jan 31, 2023

Deploy Preview for feathers-dove canceled.

Name Link
🔨 Latest commit 059ff5e
🔍 Latest deploy log https://app.netlify.com/sites/feathers-dove/deploys/63d89fcf32c3460008be50cd

@daffl daffl merged commit 71942f4 into dove Jan 31, 2023
@daffl daffl deleted the resolve-around branch January 31, 2023 05:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant