8000 fix(schema): Ensure that resolveResult and resolveExternal are run as around hooks by daffl · Pull Request #3032 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content

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

Merged
daffl merged 1 commit intodovefrom
resolve-around
Jan 31, 2023
Merged

fix(schema): Ensure that resolveResult and resolveExternal are run as around hooks#3032
daffl merged 1 commit intodovefrom
resolve-around

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

9B31
@daffl daffl merged commit 71942f4 into dove Jan 31, 2023
@daffl daffl deleted the resolve-around branch January 31, 2023 05:27
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

0