mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-26 03:23:55 +03:00
Update UPGRADE-v2.0.md
This commit is contained in:
parent
6ae9e51320
commit
586ea56693
|
@ -45,7 +45,7 @@ With 2.0:
|
||||||
```python
|
```python
|
||||||
my_field = graphene.String(my_arg=graphene.String())
|
my_field = graphene.String(my_arg=graphene.String())
|
||||||
|
|
||||||
def resolve_my_field(self, arg1, arg2):
|
def resolve_my_field(self, my_arg):
|
||||||
return ...
|
return ...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user