mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-25 11:03:58 +03:00
Updated Roadmap (markdown)
parent
dba666d8a2
commit
a3539dddee
|
@ -9,7 +9,7 @@ For the next stable version of graphene, we are willing to achieve:
|
||||||
### Simpler resolvers
|
### Simpler 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 the versbosity to only `self` and `**args`, so the syntax will be closer to:
|
We want to simplify the syntax having only `self` and `**args` by default, something be closer to:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
class MyObjectType(graphene.ObjectType):
|
class MyObjectType(graphene.ObjectType):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user