Well, of course! That’s the entire point of having a middleware. Post-hooks should also prevent the main request to be executed before their completion (at least you should be able to trigger a rollback). Pre/post hooks just define the DB state before and after the main request.
But now I understand the logic behind performance
- it’s a bit misleading from the Dgraph team here.