-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swap prepost
for grappling-hook
#1346
Conversation
9cc4cf4
to
52a7ac7
Compare
Untested ACK from me. Will test tomorrow. |
@dcousens The (idea of the) last commit was cleared with @JedWatson BTW on slack. |
|
@creynders don't we want Super uneasy about the lack of tests over those file field types. Let's fix that soon 😣 |
Ah, yes, nice catch @JedWatson force pushing it in a sec |
…ill compatible with express)
d00a697
to
aa76c9b
Compare
Can we get this in a keystone branch so that we can work in this PR
|
Sure... but why exactly @dcousens ? Wouldn't it better to land this and then have separate feature branches for adding more hooks? |
I was going to help put this under test.
|
I'm happy to submit the PR to you, just figured I'd ask.
|
@dcousens Ah no sorry, thought you had a different reason altogether. I'll close this one, and create a new PR from a keystonejs branch |
I think it's fine to merge this and add tests in a separate PR. From my review, it looks good so I'm happy to have it in master. We've also got a stable build out there as of the weekend so it's a safe time to do that. We'll work through any issues that come up. |
Swap `prepost` for `grappling-hook`
🌈 🐧 🌷 |
With
grappling-hook
having its pre/post middleware registration rewritten, its fully keystone 0.3.x compatible. This is a replacement for #1239 and uses the newgrappling-hook
version.Let's finally
I'll make a separate PR for adding a few oft requested hooks.