Oleh Kuchuk
f9efe15973
Fixed examples, make root object explicit inside resolvers and… ( #1159 )
2020-03-15 18:52:56 +00:00
Daniel Gallagher
142f4a58d8
Run black formatter via pre-commit on all files
2018-07-06 14:03:15 -07:00
Daniel Gallagher
086f9dda99
Run black formatter via pre-commit on all files
2018-07-06 12:09:23 -07:00
Syrus Akbary
6a85507325
Improved get_node API
2017-07-27 20:06:48 -07:00
Syrus Akbary
394a1beb07
Updated resolver api
2017-07-27 02:55:25 -07:00
Syrus Akbary
9769612a44
Make resolvers simple again
2017-07-23 23:10:15 -07:00
Syrus Akbary
6ae9717415
Improved automatic resolver args from annotations
2017-07-23 18:57:17 -07:00
Syrus Akbary
f1624af08a
Fixed Flake issues
2017-07-12 21:45:06 -07:00
Syrus Akbary
6321c52bd2
Fixed Connection tests
2017-07-12 21:21:16 -07:00
Syrus Akbary
bcd523082b
Fixed starwars relay mutation
2016-08-22 23:11:02 -07:00
Syrus Akbary
7804f10732
Added ClientIDMutation. All examples working 💪
2016-08-13 23:00:25 -07:00
Syrus Akbary
04492600e5
First stage separate interfaces
2016-08-08 09:37:06 -07:00
Syrus Akbary
5ccd815fbd
Added ConnectionField
2016-06-14 23:48:25 -07:00
Syrus Akbary
c74a75133e
Autolint all the files
2016-06-14 22:29:02 -07:00
Syrus Akbary
51e97510c0
Improved relay nodes and field copies
2016-06-10 00:23:31 -07:00
Syrus Akbary
522f769cad
Improved Node/Mutation fields
2016-06-09 22:56:41 -07:00
Syrus Akbary
d8d884c9be
Improved extend interfaces syntax
2016-06-09 21:47:06 -07:00
Syrus Akbary
d67b7bc6a1
Improved relay compatibility
2016-06-09 21:24:28 -07:00
Jon Rosebaugh
a79a76d3b9
Add the info parameter (ResolveInfo) to get_node() calls.
...
This allows request_context (or any other ResolveInfo data) to be used while getting nodes.
For example, some data might need to be hidden based on the user's authorization; you would use info.request_context for this.
Fixes #34 .
2015-11-17 23:44:01 -05:00
Syrus Akbary
bf168e7b12
Use new syntax for fields and arguments
2015-11-11 22:16:37 -08:00
Syrus Akbary
d46e957863
Improved syntax. Added autolinter. Added automatic flake8 checker in tests. Fixed #17
2015-10-31 14:02:22 -07:00
Syrus Akbary
97a81120b7
Added mutations in examples
2015-10-30 00:44:21 -07:00
Syrus Akbary
3bc0f5f8eb
Moved all the examples from tests to examples
2015-10-27 23:56:24 -07:00