feathersjs-ecosystem / feathers-hooks-common

Useful hooks for use with FeathersJS services.
https://hooks-common.feathersjs.com
MIT License
193 stars 89 forks source link

Doc for `iff` is wrong #743

Open rudolph9 opened 9 months ago

rudolph9 commented 9 months ago

https://hooks-common.feathersjs.com/hooks.html#iff image

Says the third argument is the hookFuncsFalse but is actually treated as chained additional hook to invoke in true case.

It looks like this actually describing the args for iffElse.

silvestreh commented 1 week ago

Docs seem to be outdated. The Migrating page seems to imply that Version 5.0.0 is the latest and/or there are no breaking changes since 5.x.