fix UPGRADE-v2.0.md

This commit is contained in:
Naoya Yamashita 2022-02-07 15:51:08 +09:00 committed by GitHub
parent 06eb1a3e82
commit 763910e7b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ def resolve_my_field(root, info, my_arg):
return ... return ...
``` ```
**PS.: Take care with receiving args like `my_arg` as above. This doesn't work for optional (non-required) arguments as stantard `Connection`'s arguments (first, before, after, before).** **PS.: Take care with receiving args like `my_arg` as above. This doesn't work for optional (non-required) arguments as stantard `Connection`'s arguments (first, last, after, before).**
You may need something like this: You may need something like this:
```python ```python