mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-26 03:23:55 +03:00
Updated Roadmap (markdown)
parent
1951408041
commit
a904649817
|
@ -9,7 +9,7 @@ For the next stable version of graphene, we are willing to achieve:
|
||||||
## Simplify resolvers
|
## Simplify resolvers
|
||||||
|
|
||||||
Currently, all the resolvers have to receive three arguments, `self`, `args`, and `info`.
|
Currently, all the resolvers have to receive three arguments, `self`, `args`, and `info`.
|
||||||
We want to simplify this to only root and **args, so people could start doing:
|
We want to simplify the versbosity to only `self` and `**args`, so the syntax will be closer to:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
class MyObjectType(graphene.ObjectType):
|
class MyObjectType(graphene.ObjectType):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user