There's a return in the docs, but unclear how this is used, I think this is just a typo but wanted to confirm.
If you return from a collection hook, that updated result will be used in hooks that come after.
Source:
https://github.com/payloadcms/payload/blob/master/src/collections/operations/update.ts#L321-L331Ah ok!
cc @jesschow another potential documentation update!
just pushed doc update to core, website will update when it builds next!
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.