Commit Graph

665 Commits

Author SHA1 Message Date
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
603d4770eb Remove print statements. 2016-07-26 18:25:02 +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
Syrus Akbary
18be1daaa4 Merge pull request #232 from jkimbo/django-docs-fix
[docs] Return an empty queryset instead of an empty list
2016-07-22 14:36:02 -07:00
Jonathan Kim
fa9b7922a1 Return an empty queryset instead of an empty list 2016-07-22 19:57:40 +01:00
Syrus Akbary
72411e559f Fixed docs 2016-07-18 12:35:38 -04:00
Syrus Akbary
ab9c9be326 Merge pull request #229 from singingwolfboy/github-capital-h
GitHub has a capital H
2016-07-17 13:59:18 -07:00
David Baumgold
cb1099d2cd GitHub has a capital H 2016-07-16 10:44:54 -04:00
Syrus Akbary
8711dd20b6 Merge pull request #213 from AlecAivazis/master
Added returns_promise flag to schema.execute
2016-06-26 12:57:19 -07:00
Alec Aivazis
7200ec6dfa added additional line in test file 2016-06-25 13:19:09 -07:00
Alec Aivazis
693f84ba38 bumped version number 2016-06-25 13:14:37 -07:00
Alec Aivazis
2d7b788568 added returns_promise flag to schema.execute 2016-06-25 13:13:34 -07:00
Syrus Akbary
b5b66326a7 Merge pull request #209 from karec/master
Add postgresql dialects for sqlachemy
2016-06-25 09:29:59 -07:00
Syrus Akbary
dbb3a3a131 Fixed #207 2016-06-23 21:57:48 -07:00
Syrus Akbary
5bad9046f0 Fixed #211 2016-06-23 21:53:48 -07:00
Syrus Akbary
08ccf2228c Fixed #221 2016-06-23 21:53:08 -07:00
Syrus Akbary
3aa35460d5 Merge pull request #210 from reisub-de/master
[Docs] Make it more obvious that the `node` Field is required for relay
2016-06-22 09:04:18 -07:00
Joshua Schüler
9f15678767 Make it more obvious that node is required for relay
Give the error message that occurs if you forget the node Field,
so googling for this brings you right to the documentation
2016-06-22 16:54:16 +02:00
Syrus Akbary
52dd103e6b Merge pull request #208 from ianlini/fix/typo-in-docs-django-authorization
Fix typo: CategoryNode -> PostNode
2016-06-21 09:52:57 -07:00
evalette
49d482b36f comment unused import for postgresql examples 2016-06-21 16:18:13 +02:00
evalette
52a2107211 add specific columns for postgresql dialect #172 2016-06-21 15:24:27 +02:00
evalette
e67a3c953a add postgresql specific data for examples #172 2016-06-21 15:23:55 +02:00
evalette
b6c5ed5eae update flask app example for new version of flask-graphene 2016-06-21 15:23:18 +02:00
Ian Lin
fef7639b92 fix typo: CategoryNode -> PostNode 2016-06-21 19:46:16 +08: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
Syrus Akbary
531083702e Merge pull request #204 from pyoner/master
fixed model column name [sqlalchemy]
2016-06-17 18:03:38 -07:00
Jungle
67fe978f2d fixed model column name 2016-06-13 20:13:14 +05:00
Syrus Akbary
1711e6a529 Updated version to 0.10.2 2016-05-31 22:15:01 -07: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
de424f7d21 Merge pull request #191 from graphql-python/django-choices-grouping
Django choices grouping
2016-05-31 20:39:25 -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
6eb00083d9 Merge pull request #190 from graphql-python/fix_lazy_translated_choice
Fix lazy translated choice
2016-05-31 20:15:15 -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
0f94f2b2ef Improved homepage 2016-05-28 23:08:00 -07:00
Syrus Akbary
e5357ccc84 Merge pull request #187 from graphql-python/register-interface-failure-fix
Register interface failure fix
2016-05-28 16:52:56 -07: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