Commit Graph

77 Commits

Author SHA1 Message Date
Eran Kampf
7ef3c8ee3e Change dependency to graphql-core-next (#988)
* Changed dependencies to core-next

* Converted Scalars

* ResolveInfo name change

* Ignore .venv

* Make Schema compatible with GraphQL-core-next

* Ignore more venv names and mypy and pytest caches

* Remove print statements for debugging in schema test

* core-next now provides out_type and out_name

* Adapt date and time scalar types to core-next

* Ignore the non-standard result.invalid flag

* Results are named tuples in core-next (immutable)

* Enum values are returned as dict in core-next

* Fix mutation tests with promises

* Make all 345 tests pass with graphql-core-next

* Remove the compat module which was only needed for older Py version

* Remove object as base class (not needed in Py 3)

* We can assume that dicts are ordered in Py 3.6+

* Make use of the fact that dicts are iterable

* Use consistent style of importing from pytest

* Restore compatibility with graphql-relay-py v3

Add adpaters for the PageInfo and Connection args.

* Avoid various deprecation warnings

* Use graphql-core 3 instead of graphql-core-next

* Update dependencies, reformat changes with black

* Update graphene/relay/connection.py

Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>

* Run black on setup.py

* Remove trailing whitespace
2019-08-12 14:04:02 -04:00
Adam Johnson
7dd8305bdf Change deprecated execute() arguments to new ones
Changed in https://github.com/graphql-python/graphql-core/pull/185 , the docs here were out of date, as were the tests.
2018-08-29 12:35:44 +03: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
Dan
034b5385a5 Add isort precommit hook & run on all files (#743)
* Add isort and seed-isort-config pre-commit hook

* Fix erroneous isort moving comment to the top of file
2018-05-28 19:18:54 +01:00
Daniel Gallagher
9777184721 Add pre-commit tool to repository, and run on all files 2018-05-22 10:56:58 -07:00
Syrus Akbary
f68682e153 Improved mutation examples 2017-08-29 19:53:24 -07:00
Syrus Akbary
eff882e5a5 Fixed snapshot 2017-08-01 23:12:21 -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
b369ccfa08 Updated snapshot files 2017-04-10 04:26:54 -07:00
Syrus Akbary
dfcd7f2563 First version of the Graphene test client and snapshots 💪 2017-04-09 21:08:35 -07:00
Syrus Akbary
b1bffc4f8d Added context example 2016-11-11 19:40:23 -08:00
Eran Kampf
344d85c19e fix tests 2016-10-27 10:37:52 -07:00
Syrus Akbary
6bd03d59d7 Added clientMutationId field to relay.ClientIDMutation. Fixed #300 2016-09-21 19:06:47 -07:00
Syrus Akbary
0148401c06 Removed executor and middleware from the Schema. 2016-09-20 00:04:41 -07:00
Syrus Akbary
630556004a Revert "Fixed starwars relay tests schema representation"
This reverts commit c54b495b16.
2016-09-08 21:03:18 -07:00
Syrus Akbary
c54b495b16 Fixed starwars relay tests schema representation 2016-09-08 20:32:24 -07:00
Syrus Akbary
bcd523082b Fixed starwars relay mutation 2016-08-22 23:11:02 -07:00
Syrus Akbary
6fa32a7287 Fixed PEP8 errors 2016-08-14 16:58:32 -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
c87d87d1ea Improved ObjectType fields 2016-06-21 13:09:14 -07:00
Syrus Akbary
35f42f4e0c Improved relay types 2016-06-15 22:45:28 -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
397df4ea1a Moved django and sqlalchemy to own projects 2016-06-10 10:18:22 -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
Syrus Akbary
b24e9a1051 Refactored fields getter to be immutable 2016-06-08 22:23:28 -07:00
Syrus Akbary
0db5b1cfbc Move resolver to interface too 2016-06-06 02:03:57 -07:00
Syrus Akbary
0f10ae884f Allow InputObjectType instances to be Type proxies 2016-06-04 16:04:21 -07:00
Syrus Akbary
ab72393e66 Added InputField, InputObjectType. Improved Field implementation 2016-06-04 15:22:10 -07:00
Syrus Akbary
9cf4da5fcb Improved simple example 2016-06-04 14:14:56 -07:00
Syrus Akbary
89790e7508 Added Enum type 2016-06-04 14:06:16 -07:00
Syrus Akbary
a1454fdd74 Fixed resolve context 2016-06-04 12:48:08 -07:00
Syrus Akbary
6c42877758 Improved starwars tests 2016-06-04 11:21:33 -07:00
Syrus Akbary
c260bd4181 Updated GraphQL SQLAlchemy version 2016-05-18 21:00:22 -07:00
Syrus Akbary
7be5b83fdf Fixed PEP8 + Python 3 print 2016-05-11 23:54:15 -07:00
evalette
492ffdace4 remove ending coma 2016-04-13 14:41:04 +02:00
evalette
74a4043899 update flask sqlalchemy examples 2016-04-13 14:16:01 +02:00
Syrus Akbary
3bef8762e7 Improved Python syntax to be PEP8 complaint 2016-04-02 19:40:48 -07:00
Syrus Akbary
407b9ea550 Added Enum class type 2016-02-01 13:28:52 -08:00
Syrus Akbary
87d455637c Updated Flask-GraphQL requirement 2016-01-28 12:36:07 -08:00