Commit Graph

353 Commits

Author SHA1 Message Date
Syrus Akbary
062c0f9ed5 Merge pull request #73 from lightning18/dump-schema
Implement Django command for dumping schema.json
2015-12-18 19:24:22 +01:00
Kevin Abiera
73c04f22c8
Implement Django command for dumping schema.json
* Implement Django `./manage.py graphql_schema`

* Required to have 'graphene.django.contrib' in INSTALLED_APPS setting

* Introduces two new optional settings GRAPHENE_SCHEMA and
  GRAPHENE_SCHEMA_OUTPUT

* GRAPHENE_SCHEMA for the Django app containing the schema

* GRAPHENE_SCHEMA_OUTPUT for the output file (defaults to schema.json)

* Use `./manage.py graphql_schema -h` for help in command line
2015-12-18 20:57:24 +08:00
Syrus Akbary
9b8c75be9a Merge pull request #71 from lightning18/ip-address-field
Add support for GenericIPAddressField
2015-12-12 10:58:57 -08:00
Kevin Abiera
6c0bc4c545
Add support for GenericIPAddressField 2015-12-12 22:16:20 +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
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
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
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
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
Syrus Akbary
3586fdfb77 Improvex syntax 2015-12-04 02:41:47 -08:00
Syrus Akbary
bee0af1125 Improved django debug 2015-12-04 02:34:12 -08:00
Syrus Akbary
28414955a2 Improved resolver function decorators 2015-12-03 23:41:28 -08:00
Syrus Akbary
967a9d2d03 Fixed old DjangoConnectionField usage 2015-12-03 23:23:32 -08:00
Syrus Akbary
14439155ee Initial version debug schema in django 2015-12-03 22:22:49 -08:00
Syrus Akbary
0fa7f5c9aa Improved tests 2015-12-03 21:49:10 -08:00
Syrus Akbary
f4cfd7dc8a Improved package imports 2015-12-03 20:50:14 -08:00
Syrus Akbary
256a94bc81 Improved travis build 2015-12-03 19:10:11 -08:00
Syrus Akbary
53de24b705 Improved django example 2015-12-03 18:34:38 -08:00
Syrus Akbary
699aebec33 Merge pull request #61 from graphql-python/features/classtypes
Refactor ObjectTypes in ClassTypes. Fixed #30
2015-12-02 23:59:51 -08:00
Syrus Akbary
d251a52442 Fixed Python3 import error 2015-12-02 23:54:45 -08:00
Syrus Akbary
df9dd33c74 Fixed Python3 errors 2015-12-02 23:48:40 -08:00
Syrus Akbary
9b839f19e5 Fixed lint errors 2015-12-02 23:46:49 -08:00
Syrus Akbary
b417a65f19 Fixed options tests 2015-12-02 23:42:22 -08:00
Syrus Akbary
f5837ac4f3 Improved classtypes django support 2015-12-02 23:36:51 -08:00