You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change chained hooks nil check to correct function (#21)
The `nil` check was incorrect, resulting in a panic if the following
conditions hold true:
1. You have a `PostRead` hook func defined
2. You don't have a `PostReadImmediate` hook func defined
3. You use `ChainLifecycleHooks` to use multiple hooks
`PostRead` --> `PostReadImmediate`
Additionally, a few other hook functions had what I believe are
incorrect nil checks.
- `PreWrite`: Was checking if `PreProcessing` was `nil` instead of
`PreWrite`
- `PostFanout`: Was check if `PostRead` was `nil` instead of
`PostFanout`
0 commit comments