Commit Graph

386 Commits

Author SHA1 Message Date
Syrus Akbary
d3995ca516 Merge pull request #241 from jkimbo/indent-option-schema
Added --indent option for graphql_schema command
2016-08-06 11:51:21 -07:00
Jonathan Kim
e486a7afdb Added --indent option for graphql_schema command 2016-08-05 22:13:27 +01:00
Jonathan Kim
4d387cc1aa Make clientMutationId optional 2016-08-05 21:59:26 +01:00
Syrus Akbary
4ccddf4b7b Merge pull request #222 from conradev/django-nonnull
Implicitly mark Django fields as NonNull where appropriate
2016-08-05 10:10:38 -07:00
Markus Padourek
878391be4e Add tests for both fixes. 2016-07-29 09:15:55 +01:00
Markus Padourek
0d9e645bea fix linting issues in types.py 2016-07-28 12:17:27 +01:00
Markus Padourek
a72bee4fa5 fix linting issues in fields.py 2016-07-28 12:16:50 +01:00
Markus Padourek
18bb5030af fix linting issues in connection py 2016-07-28 12:16:24 +01:00
Markus Padourek
2a288eab9d Fix a bug where you can not directly return
`relay.Connection.for_node(NodeType)(edges=edges, page_info=relay.PageInfo(has_next_page=has_next_page))` in a resolver
2016-07-28 12:11:42 +01:00
Markus Padourek
6811f93aa4 Fix last imports. 2016-07-26 18:24:15 +01:00
Markus Padourek
dcda05f529 Fix imports. 2016-07-26 18:16:26 +01:00
Markus Padourek
b193c98e35 Allow ConnectionFields to have ObjectTypes as per relay spec 2016-07-26 18:13:45 +01:00
Conrad Kramer
0c63b0c5e2 Implicitly mark Django fields as NonNull where appropriate 2016-07-06 20:17:59 -07:00
Alec Aivazis
7200ec6dfa added additional line in test file 2016-06-25 13:19:09 -07:00
Alec Aivazis
2d7b788568 added returns_promise flag to schema.execute 2016-06-25 13:13:34 -07:00
evalette
73bd8782b5 add unit tests for new converters #172 2016-06-21 13:34:27 +02:00
evalette
e3704577b3 first try to add postgresql specific fields to sqlachemy converters ref #172 2016-06-21 11:31:53 +02:00
Jungle
67fe978f2d fixed model column name 2016-06-13 20:13:14 +05:00
Syrus Akbary
7df1f8a88d Fixed unwrap cursor for make it work with DDT. Fixed #181 2016-05-31 21:15:10 -07:00
Syrus Akbary
b9695c877a Fixed ClientIDMutation GraphQL type name. Fixed #148 2016-05-31 20:55:01 -07:00
Syrus Akbary
9e715cd902 Fixed Django converter of field with grouped choices 2016-05-31 20:29:20 -07:00
Syrus Akbary
4636f9290a Merge branch 'master' into django-choices-grouping
# Conflicts:
#	graphene/contrib/django/tests/test_converter.py
2016-05-31 20:26:21 -07:00
Syrus Akbary
edfbbf52ef Fix field model 2016-05-31 20:05:49 -07:00
Syrus Akbary
4936e40258 Merge branch 'django-choices-translation' of https://github.com/Ian-Foote/graphene into fix_lazy_translated_choice 2016-05-31 19:49:25 -07:00
Syrus Akbary
7f6598518e Use Django forcetext for choices 2016-05-31 19:47:50 -07:00
Jacob Klapwijk
be449ab1c0 Fix ugettext_lazy objects in Choice tuples not being evaluated. Running .format() on it will return the string we want, and wont cause any problems when its run on a string without arguments 2016-05-31 16:11:54 +02:00
Syrus Akbary
da09bc3210 Fixed unregistered types in schema 2016-05-27 23:18:18 -07:00
Ian Foote
7d5d7eac3c Add test for django grouped choices 2016-05-26 16:07:18 +01:00
Ian Foote
8744f6a90e Add test for django choices with translation 2016-05-26 15:44:49 +01:00
Marc Tamlyn
aa2f4c5bac Failing test of interface implementation registration. 2016-05-26 12:16:45 +01:00
Syrus Akbary
8bc14953d7 Moved options testing to tests directory 2016-05-23 21:58:25 -07:00
Alec Aivazis
427a08106b fixed linting error 2016-05-22 17:17:07 -07:00
Alec Aivazis
161f198451 added test for auto_camelcase flag 2016-05-22 17:11:55 -07:00
Alec Aivazis
feb0825a63 fixed bug when no middlewares are present 2016-05-22 16:52:30 -07:00
Syrus Akbary
89074492e0 Merge pull request #177 from graphql-python/bugfixes/context-in-connectionfield
Added context to connectionfield resolver
2016-05-21 00:47:56 -07:00
Syrus Akbary
11a5ee189e Fixed issues 2016-05-21 00:40:26 -07:00
Syrus Akbary
ae8a23bfb8 Merge pull request #175 from AdrielVelazquez/master
Allow numbers in to_constant
2016-05-21 00:26:46 -07:00
Syrus Akbary
b9723356fe Fixed PEP8-Python3 errors 2016-05-20 23:52:00 -07:00
Syrus Akbary
577b76e436 Removed plugins. Added middlewares 2016-05-20 23:43:55 -07:00
Syrus Akbary
3428725314 First phase of middlewares 2016-05-20 23:25:54 -07:00
Syrus Akbary
8421b59d3a Improved resolver logic middleware by using promises 2016-05-20 21:44:31 -07:00
Adriel Velazquez
4d15bc4f79 Updating tests for regex changes 2016-05-20 15:20:10 -04:00
Adriel Velazquez
22b8b90fab Allow numbers in to_constant
Enums aren't effected if a int is passed along with the string.
2016-05-20 14:30:56 -04:00
Markus Padourek
5a949ce209 Added context to sqlalchemy connectionfield 2016-05-20 15:26:42 +01:00
Markus Padourek
83c2cb1b27 Add context to django connection field 2016-05-20 14:40:21 +01:00
Markus Padourek
bc98505ee5 Fixed missing context arg 2016-05-20 14:11:21 +01:00
Markus Padourek
e897efb79f Added test for with_context on connectionfield 2016-05-20 14:03:47 +01:00
Markus Padourek
7a5ad21b98 Added context to from_list 2016-05-20 14:00:57 +01:00
Markus Padourek
c4f29f050b Added context to connectionfield resolver 2016-05-20 13:59:39 +01:00
Syrus Akbary
25fd60d1ff Improved plugins 2016-05-20 01:23:45 -07:00