Skip to content

Commit 4875404

Browse files
authored
Update UPGRADE-v2.0.md
1 parent 066e7ba commit 4875404

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

UPGRADE-v2.0.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ developer has to write to use them.
2828
### Simpler resolvers
2929

3030
All the resolvers in graphene have been simplified. If before resolvers required
31-
four arguments `root`, `args`, `context` and `info`, now the `args` are passed as keyword arguments
32-
and `context` and `info` will only be passed if the function is annotated with it.
31+
four arguments `root`, `args`, `context` and `info`, now the `args` are passed as keyword arguments, `info` will be always passed after `root` or `self` and `context` is now inside `info` (`info.context`).
3332

3433
Before:
3534

0 commit comments

Comments
 (0)