Commit Graph

1255 Commits

Author SHA1 Message Date
Syrus Akbary
35d78320e8 Simplified filter in types and fields. All tests passing 2015-12-11 23:39:41 -08:00
Syrus Akbary
b4f7df3c9d Fixed argument getter in django filters tests 2015-12-11 15:43:22 -08:00
Syrus Akbary
90889ca455 Merge branch 'master' of github.com:graphql-python/graphene 2015-12-11 14:00:48 -08:00
Syrus Akbary
0daf6d8ec0 Merge pull request #69 from ustun/improve_object_argument_docs
Add documentation about using custom input object types as arguments
2015-12-11 13:55:31 -08:00
Syrus Akbary
689db2c70e Fixed incompatible syntax in Python 2.7 2015-12-11 11:03:49 -08:00
Syrus Akbary
cdfe7bd33e Merge branch 'refs/heads/master' into feature/adam-django 2015-12-11 10:59:55 -08:00
Syrus Akbary
9dcd7986b8 Improved testing on fields 2015-12-11 10:53:05 -08:00
Syrus Akbary
2eea03cb62 Improved name in Field. Could be an Argument 2015-12-11 10:42:10 -08:00
Ustun Ozgur
ab9d382cdf Add documentation about using custom input object types as arguments
Proper indentation

Add secondary field to make the intent explicit
2015-12-11 20:02:15 +02:00
Syrus Akbary
e27af63f3a Updated version to 0.5.0 2015-12-10 22:27:56 -08:00
Syrus Akbary
930f084912 Fixed DjangoDebugPlugin. Improved Django views 2015-12-10 22:11:43 -08:00
Syrus Akbary
a161738f3d Merge pull request #65 from graphql-python/features/plugins-autocamelcase
Create plugin structure
2015-12-09 19:52:12 -08:00
Syrus Akbary
64460839be Merge pull request #64 from graphql-python/features/django-debug
Add plugin to debug Django SQL queries in the Query (similar to DjangoDebugToolbar)
2015-12-09 19:48:57 -08:00
Syrus Akbary
c8f4c13822 Improved plugin execution 2015-12-09 19:44:35 -08:00
Syrus Akbary
b3b440f837 Merge branch 'refs/heads/features/plugins-autocamelcase' into features/django-debug 2015-12-09 19:28:43 -08:00
Syrus Akbary
dca435a220 Improved plugin system 2015-12-09 19:26:46 -08:00
Syrus Akbary
dd5b26e6ed Improved debug plugin structure 2015-12-06 16:51:37 -08:00
Syrus Akbary
bd35fcee6c Merge branch 'refs/heads/features/plugins-autocamelcase' into features/django-debug 2015-12-06 16:39:32 -08:00
Syrus Akbary
cd5d9b8eea Improved plugin structure based on @adamcharnock suggestions 2015-12-06 16:34:47 -08:00
Syrus Akbary
730de3f289 Merge branch 'refs/heads/master' into features/plugins-autocamelcase
Conflicts:
	graphene/core/types/argument.py
2015-12-06 16:04:44 -08:00
Syrus Akbary
2724025a5b Improved ScalarTypes code 2015-12-06 15:53:56 -08:00
Syrus Akbary
37a454b831 Renamed BaseType to InstanceType for code clarity 2015-12-06 15:49:54 -08:00
Syrus Akbary
9e1dd8e314 Merge branch 'refs/heads/master' into features/plugins-autocamelcase
Conflicts:
	graphene/core/schema.py
2015-12-06 15:43:57 -08:00
Syrus Akbary
5e708cc919 Improved tests. Improved schema.type getter. Remove duplicated Scalar code 2015-12-06 15:32:31 -08:00
Syrus Akbary
9ea10f562c Fixed lint errors 2015-12-06 14:37:44 -08:00
Syrus Akbary
c9e7f67ff9 Improved logic in GroupNamedType 2015-12-06 14:36:47 -08:00
Syrus Akbary
a153a01f6b Improved debug using plugin structure 2015-12-06 03:59:44 -08:00
Adam Charnock
3d4f593300 DjangoFilterConnectionField now extends ConnectionField, as DjangoConnectionField is now deprecated 2015-12-06 10:38:28 +00:00
Syrus Akbary
2ad5bc203a Merge branch 'refs/heads/features/plugins-autocamelcase' into features/django-debug 2015-12-06 02:37:21 -08:00
Syrus Akbary
12e4e2c006 Added Plugins structure. Added option in schema for auto camel case or not. 2015-12-06 02:35:17 -08:00
Adam Charnock
93e758dc13 Reverting previous commit following comments by @syrusakbary 2015-12-06 10:08:10 +00:00
Syrus Akbary
ec3f292593 Refactored arguments and fields logic 2015-12-06 01:51:03 -08:00
Syrus Akbary
21dffa4aa8 Moved fields to a named group 2015-12-06 01:34:56 -08:00
Syrus Akbary
fae376cbb0 Moved arguments to a named group 2015-12-06 01:01:23 -08:00
Adam Charnock
880807dd2f Replacing django-filter detection with GRAPHENE_ENABLE_FILTERING setting
Also moving GRAPHENE_ORDER_BY_FIELD into settings.py which
centralises use of django settings and their default values
2015-12-05 13:06:44 +00:00
Adam Charnock
0f35f4de8d Correcting definition of 2015-12-05 11:20:48 +00:00
Adam Charnock
66189be4a9 Filtering now available on nodes without defining fields 2015-12-05 11:15:17 +00:00
Adam Charnock
afd7aa8d72 Merge branch 'master' into feature/django 2015-12-05 09:10:38 +00:00
Adam Charnock
bfd43bc995 Flake8 fixes 2015-12-05 09:03:19 +00:00
Adam Charnock
eb665d569d Adding .editorconfig to help enforce whitespace rules
(and to stop me keep adding too many blank lines at the
end of files)
2015-12-05 09:02:15 +00:00
Adam Charnock
1988519536 Fixes to how singledispatch is imported 2015-12-05 09:01:11 +00:00
Syrus Akbary
afdddafb3d Updated version 2015-12-04 19:54:57 -08:00
Syrus Akbary
2f6fb89f23 Fixed List, NonNull accessors as functions instead of properties 2015-12-04 19:51:44 -08:00
Syrus Akbary
ee19445290 Improved queryset getter for use .count instead of len 2015-12-04 19:28:20 -08:00
Adam Charnock
bbbf688449 Renaming order -> order_by (and fixing assert_not_orderable()) 2015-12-04 21:39:55 +00:00
Adam Charnock
f616b597ac Updating form converter method names to make more sense 2015-12-04 18:55:05 +00:00
Adam Charnock
3a23c1f940 Filtering options will now be read from the destination node's Meta data 2015-12-04 18:41:20 +00:00
Adam Charnock
b4b42db73e Updating imports to work when singledispatch is available natively 2015-12-04 17:48:33 +00:00
Adam Charnock
166a143c18 No longer testing on python 3.3 as no supported django versions support it 2015-12-04 17:08:58 +00:00
Adam Charnock
c93492bacb pep8 fixes 2015-12-04 17:03:29 +00:00