Syrus Akbary
b1e0c3b533
Merge branch 'master' of github.com:syrusakbary/graphene
2015-11-20 08:31:59 -08:00
Syrus Akbary
3921e417ee
Fixed django connection or list field. Fixed #43
2015-11-20 08:31:53 -08:00
Syrus Akbary
d50fb33660
Fixed arg count compatibility in Python3
2015-11-19 20:13:41 -08:00
Syrus Akbary
0d4164648f
Fixed instance getter using _root.
2015-11-19 20:00:10 -08:00
Syrus Akbary
d6a5269f0b
Added support for old behavior of get_node
2015-11-19 19:57:39 -08:00
Syrus Akbary
f69665dcd8
Flake8 improvements and README update
2015-11-19 19:17:02 -08:00
Syrus Akbary
3712542566
Fixed PEP8 syntax
2015-11-19 08:37:15 -08:00
Syrus Akbary
b91ae4b0fb
Added subscription support. Fixed #35
2015-11-19 08:37:15 -08:00
Syrus Akbary
4a591354f1
Wrap or not wrap. Root is the question
2015-11-19 08:37:03 -08:00
Syrus Akbary
42df4b6227
Merge branch 'master' of github.com:graphql-python/graphene
2015-11-18 17:54:42 -08:00
Syrus Akbary
fca0ab4f4c
Added schema str representation
2015-11-18 17:53:11 -08:00
Jon Rosebaugh
a79a76d3b9
Add the info parameter (ResolveInfo) to get_node() calls.
...
This allows request_context (or any other ResolveInfo data) to be used while getting nodes.
For example, some data might need to be hidden based on the user's authorization; you would use info.request_context for this.
Fixes #34 .
2015-11-17 23:44:01 -05:00
Syrus Akbary
a970d99b69
Fixed flake8 syntax
2015-11-17 17:35:19 -08:00
Syrus Akbary
266dd5efe0
Fixed relay connections/edges field mapping. Improved testing
2015-11-17 17:25:18 -08:00
Syrus Akbary
00c9cc95d4
Improved test syntax
2015-11-16 19:49:40 -08:00
Syrus Akbary
24cd190f95
Added support for UnionTypes
2015-11-16 19:48:51 -08:00
Syrus Akbary
d2ca8a96a9
Fixed node id fetching when cannot decode. Fixed #14
2015-11-15 01:13:56 -06:00
Syrus Akbary
34d6d07fc3
Improved tests
2015-11-15 00:52:22 -06:00
Syrus Akbary
83589a21b8
Merge branch '0.4.0' of github.com:graphql-python/graphene into 0.4.0
2015-11-15 00:25:11 -06:00
Syrus Akbary
d8ca3c089a
Cleaned tests
2015-11-13 19:51:37 -08:00
Syrus Akbary
bebdf5cf9b
Refactored decorators into utils
2015-11-13 19:44:01 -08:00
Syrus Akbary
dfc2bc4ac3
Improved tests
2015-11-13 19:38:06 -08:00
Syrus Akbary
5282627537
Rewrite imports to be relative instead of absolute
2015-11-13 18:59:02 -08:00
Syrus Akbary
f4a8d53409
Remove unused code. Add more tests
2015-11-13 18:45:11 -08:00
Jake
57ba5e71f9
Remove redundant tests & fix tox.
2015-11-13 17:15:42 -05:00
Jake
4e08819094
Merge remote-tracking branch 'graphql-python/0.4.0' into use-graphql-django-view
2015-11-13 17:08:12 -05:00
Jake
77a588a5b1
Fix handling of root value to be like Schema.execute
.
2015-11-13 17:00:04 -05:00
Jake
5a1e014b9a
Use graphql-django-view
to handle GraphQLView
2015-11-13 16:53:35 -05:00
Syrus Akbary
9548d6932c
Merge branch 'refs/heads/master' into 0.4.0
...
Conflicts:
graphene/contrib/django/tests/test_views.py
graphene/contrib/django/views.py
2015-11-13 11:52:28 -08:00
Monte Mishkin
e48598f4e6
added check for content-type "application/graphql" in django view
2015-11-12 23:41:01 -08:00
Syrus Akbary
cc8a494753
Improved arguments construction
2015-11-12 23:21:58 -08:00
Syrus Akbary
ae667f3915
Reuse objecttype fields
2015-11-12 23:18:17 -08:00
Syrus Akbary
1956c1fb03
Added NonNull and List to Types
2015-11-11 22:35:03 -08:00
Syrus Akbary
bf168e7b12
Use new syntax for fields and arguments
2015-11-11 22:16:37 -08:00
Syrus Akbary
a2ab008ead
Fixed lint errors
2015-11-11 21:54:45 -08:00
Syrus Akbary
7073208517
Django integration finished
2015-11-11 21:46:26 -08:00
Syrus Akbary
a55222e107
Merge branch '0.4.0-cov' of github.com:graphql-python/graphene into 0.4.0-cov
2015-11-11 18:06:39 -08:00
Syrus Akbary
cf657b365c
Improved django support
2015-11-11 17:33:37 -08:00
Syrus Akbary
b0f2b4dd55
Improved relay
2015-11-11 17:33:23 -08:00
Syrus Akbary
2fed5c7e4a
Improved fields
2015-11-11 02:21:25 -08:00
Syrus Akbary
cfba52e6f3
Improved lazy type resolvers
2015-11-11 02:12:17 -08:00
Syrus Akbary
bdcd533bf9
Fixed tests
2015-11-11 00:55:15 -08:00
Syrus Akbary
862fa6f312
Fixed argument types
2015-11-10 23:40:05 -08:00
Syrus Akbary
41648b5a94
Improved relay integration
2015-11-10 22:57:22 -08:00
Syrus Akbary
28d89a44f1
Improved mutations, tests and overall integration.
2015-11-10 22:16:05 -08:00
Syrus Akbary
6f87720fc1
Improved tests and coverage
2015-11-10 17:50:11 -08:00
Syrus Akbary
b474010060
Added LazyType
2015-11-10 11:54:20 -08:00
Syrus Akbary
6ad668fe38
Fixed tests
2015-11-10 11:52:29 -08:00
Syrus Akbary
3c65deb313
In work version graphene new types
2015-11-10 01:29:38 -08:00
Syrus Akbary
9bab0d9d6f
Improved fields resolver
2015-11-09 20:42:56 -08:00
Syrus Akbary
afe8614753
First types implementation
2015-11-06 01:13:28 -08:00
Syrus Akbary
2f0bd7cf7c
Revert "Improved fields hash, eq methods"
...
This reverts commit 6a377be665
.
2015-11-05 00:27:17 -08:00
Syrus Akbary
842d11515e
Changed from field_name to attname for field attribute name
2015-11-05 00:14:03 -08:00
Syrus Akbary
6a377be665
Improved fields hash, eq methods
2015-11-04 23:37:13 -08:00
Syrus Akbary
a7f3b77eae
Simplified schema code
2015-11-03 21:58:34 -08:00
Syrus Akbary
b6df2d881d
Improved function calling
2015-11-03 21:48:13 -08:00
Syrus Akbary
898329c240
Improved resolve_type function using partials
2015-11-03 21:41:06 -08:00
Syrus Akbary
d46e957863
Improved syntax. Added autolinter. Added automatic flake8 checker in tests. Fixed #17
2015-10-31 14:02:22 -07:00
Syrus Akbary
2d55d89047
Improved testing coverage. Removed unused logic
2015-10-29 23:27:41 -07:00
Syrus Akbary
55e2027dbb
Improved schema type resolvers
2015-10-29 22:33:43 -07:00
Syrus Akbary
88196103f6
Fixed import
2015-10-28 20:35:44 -07:00
Syrus Akbary
ee3279e12b
Added caching to travis tests
2015-10-28 01:34:51 -07:00
Syrus Akbary
e82c680fd1
Added support for Enum Python data structure
2015-10-28 01:27:32 -07:00
Syrus Akbary
d7e1d9c598
Refactored utils
2015-10-28 01:13:56 -07:00
Syrus Akbary
f4c1e711cc
Improved arguments received by proxying keys to snake_case. Added relay mutations
2015-10-27 23:17:09 -07:00
Syrus Akbary
bd30bbb322
Fixed field type when parent object type is a inputtype
2015-10-27 22:27:18 -07:00
Syrus Akbary
129999d41a
Improved types as containers
2015-10-27 00:17:27 -07:00
Syrus Akbary
2958cc18af
Uncommented signals
2015-10-26 02:38:07 -07:00
Syrus Akbary
2bab94d72f
Added InputObjectType and InputObjectField
2015-10-26 02:37:07 -07:00
Syrus Akbary
ea5207d025
Changed from mutation->is_mutation interface->is_interface
2015-10-26 02:27:45 -07:00
Syrus Akbary
b377eb6230
Fixed Python3 errors
2015-10-26 01:59:38 -07:00
Syrus Akbary
bc3d176b4e
Improved Mutations Input args
2015-10-25 22:30:35 -07:00
Syrus Akbary
2648a2300b
First working version of mutations
2015-10-25 22:05:09 -07:00
Syrus Akbary
9e101898f1
Merge branch 'refs/heads/master' into 1.0
...
Conflicts:
graphene/core/fields.py
2015-10-25 20:21:06 -07:00
Syrus Akbary
fdb1bb30bc
Remove unused field types
2015-10-25 20:20:15 -07:00
Syrus Akbary
7d5987742a
Get rid of memoize in all field definitions. Improved #15
2015-10-25 20:10:22 -07:00
Syrus Akbary
842103d8f7
Merge branch 'refs/heads/master' into 1.0
2015-10-25 20:02:24 -07:00
Syrus Akbary
c408c233ea
Improved syntax
2015-10-25 20:02:12 -07:00
Syrus Akbary
69de7241ab
Added field description based on function doc
2015-10-25 19:49:28 -07:00
Syrus Akbary
23ef63e60e
Simplified instance field getter
2015-10-25 16:35:22 -07:00
Syrus Akbary
c45417d5f0
Fixed connection data with wrapped resolver
2015-10-23 01:50:27 -07:00
Syrus Akbary
464002c2db
Improved relay resolvers
2015-10-20 21:35:56 -07:00
Syrus Akbary
526d34d009
Fixed exclude_fields when is a tuple
2015-10-19 23:13:48 -07:00
Syrus Akbary
84fcb3eac9
Used Graphene types for relay Connection and Edges
2015-10-19 22:52:35 -07:00
Syrus Akbary
752cd77652
Improved field resolving if instance is not wrapped
2015-10-19 22:28:09 -07:00
Syrus Akbary
fadf3664c0
Refactored django function to utils
2015-10-18 19:43:58 -07:00
Syrus Akbary
bd0ec6dc14
Improved Relay types
2015-10-16 01:23:57 -07:00
Syrus Akbary
633f72cfe9
Added is_type_of functionality
2015-10-16 00:25:40 -07:00
Syrus Akbary
440a981750
Improved field overwriting in Django mapped models
2015-10-15 23:37:08 -07:00
Syrus Akbary
cafcd89e57
Simplified how NodeIDField is managed. Improved tests
2015-10-15 23:26:20 -07:00
Syrus Akbary
71c6022b9e
Simplified relay fields code
2015-10-15 19:38:27 -07:00
Syrus Akbary
f8bfb0aa3c
Merge branch 'refs/heads/features/resolver_tags'
...
Conflicts:
tests/core/test_types.py
2015-10-15 19:17:25 -07:00
Syrus Akbary
2900ed66ad
Improved type resolver. Refactored django utils
2015-10-15 19:13:38 -07:00
Syrus Akbary
7e5de3fb4f
Fixed tests
2015-10-14 22:24:23 -07:00
Syrus Akbary
bfd7cb9535
Fixed get_node_type function
2015-10-14 22:11:37 -07:00
Syrus Akbary
e693f9b4dc
Fixed field hash
2015-10-14 21:53:57 -07:00
Syrus Akbary
14298f1c56
Fixed some tests. Updated graphql-core to 0.1a4 version
2015-10-14 21:50:33 -07:00
Syrus Akbary
86927b2add
Added visibility to DjangoInterface
2015-10-14 15:12:38 -07:00
Syrus Akbary
3f8ac7f851
Added Decimal field support (mapping to FloatField until graphql-core implements Decimal type)
2015-10-14 13:49:58 -07:00
Syrus Akbary
979dd0f498
Improved django execute view
2015-10-14 11:33:20 -07:00
Syrus Akbary
40b88bc87b
Added support for resolver tagging. Fixed #6
2015-10-13 19:16:42 -07:00
Syrus Akbary
625c6da282
Merge pull request #11 from mbetz08/master
...
Django 1.6 compatibility for views
2015-10-12 20:50:20 -07:00
Syrus Akbary
32e4a21403
Improved fields inheritance in ObjectTypes
2015-10-12 20:36:46 -07:00
Mickie Betz
3ebb33be6d
Django 1.6 compatibility for views
2015-10-12 22:22:46 -05:00
Syrus Akbary
0a42dcea02
Improved Django 1.6 compatibility. Fixed #10
2015-10-12 19:40:20 -07:00
Syrus Akbary
63f320e92b
Added support for custom executor settings
2015-10-10 17:35:32 -07:00
Syrus Akbary
2b6a253b78
Updated to work with the last version of graphql-core supporting field ordering
2015-10-10 17:23:40 -07:00
Syrus Akbary
6eb1a48cb2
Improved overall testing coverage
2015-10-10 14:56:18 -07:00
Syrus Akbary
b511563ccc
Removed map_type until the last version of graphql-core is on PyPI
2015-10-10 00:18:18 -07:00
Syrus Akbary
4e8fd488ff
Updated to work with last version of graphql-relay
2015-10-10 00:09:14 -07:00
Syrus Akbary
ea95ca2b0c
Fixed field ordering adding reverse related fields at the end
2015-10-09 23:15:07 -07:00
Syrus Akbary
97224c6083
Fixed foreign key, oneToOne resolve
2015-10-09 22:55:15 -07:00
Syrus Akbary
042325192a
Added ability to set up a custom graphql executor. Fixed #7 . Added automatic field ordering as default
2015-10-09 22:39:29 -07:00
Syrus Akbary
cf3a32b50a
Improved field naming
2015-10-09 22:10:09 -07:00
Syrus Akbary
0bc0218032
Improved fields ordering. Thanks @leebyron for pointing this!
...
Not everything yet fixed. Have to fix too in graphql-core/relay
2015-10-08 23:24:21 -07:00
Syrus Akbary
fbd9465e57
Use last version of graphql-core. Fixed introspection #3
2015-10-08 17:30:46 -07:00
Syrus Akbary
f9a0f18b0d
Fixed local_fields with fields when Extending from A non abstract Django model
2015-10-06 01:05:01 -07:00
Syrus Akbary
0843499306
Improved field description converter from Django fields
2015-10-06 00:49:13 -07:00
Syrus Akbary
fe510dc686
Completed Python3 Compatibility!
2015-10-05 23:06:49 -07:00
Syrus Akbary
b58269ce72
Improved Python3 integration
2015-10-05 22:30:05 -07:00
Syrus Akbary
948da46fcd
Changed field attr naming from null to required
2015-10-05 20:42:24 -07:00
Syrus Akbary
cf09066787
Fixed ManyToMany relations mapping in Django Models
2015-10-03 18:21:47 -07:00
Syrus Akbary
dd799483b0
Added NodeTypeField
2015-10-03 17:34:55 -07:00
Syrus Akbary
25eca8776a
Added ability to skip fields in runtime
2015-10-03 16:48:18 -07:00
Syrus Akbary
2f3bfdf863
Improved Django fields testing
2015-10-03 13:51:45 -07:00
Syrus Akbary
d47f1d544e
Improved django GraphQL view testing
2015-10-03 13:27:19 -07:00
Syrus Akbary
5b415a1de6
Improved Django view exception handling
2015-10-03 12:24:51 -07:00
Syrus Akbary
47bd3d3926
Removed global env from grapheme
2015-10-03 12:23:39 -07:00
Syrus Akbary
a1c7d3e3de
Simplified unused code
2015-10-03 03:59:24 -07:00
Syrus Akbary
855cee2f34
Added custom GraphQLSchema
2015-10-03 02:42:56 -07:00
Syrus Akbary
b0e3b3a3af
Improved Django GraphQL view error handling
2015-10-03 02:10:03 -07:00
Syrus Akbary
dcd8edb59a
Improved Django Connection resolver. Added exclude_fields option to Django Types
2015-10-03 01:47:55 -07:00
Syrus Akbary
52cb1715d3
Added LazyMap for django resolvers
2015-10-03 00:03:38 -07:00
Syrus Akbary
701c49db26
Added automatic snake casing to camel casing conversion in field names
2015-10-02 22:45:13 -07:00
Syrus Akbary
176696c1ac
Improved syntax using pep8 style guide
2015-10-02 22:17:51 -07:00
Syrus Akbary
587f05e1d7
Removed unnecessary get_global_schema legacy code
2015-10-01 09:34:32 -07:00
Syrus Akbary
0aba625140
Fixed Django field convert bug pointed by @jhgg
2015-10-01 09:22:29 -07:00
Syrus Akbary
2ba0a62a6c
Refactored is_node into relay utils
2015-10-01 02:40:21 -07:00
Syrus Akbary
c945df6064
Completed Django support. Improved tests. Changed schema behavior
2015-10-01 01:54:52 -07:00
Syrus Akbary
72c88a19e5
Removed unused schema
2015-09-30 01:09:37 -07:00
Syrus Akbary
e14f1fdd34
Removed resolved printing.
2015-09-29 23:52:36 -07:00
Syrus Akbary
1e8746830e
Fixed tests with django starwars
2015-09-29 23:50:23 -07:00
Syrus Akbary
a7774f0be4
Fixed issues with relay and django models
2015-09-29 23:34:59 -07:00
Syrus Akbary
e89eb3456e
Improved Django mapping
2015-09-29 18:25:56 -07:00
Syrus Akbary
ee090b92bd
Merge branch 'refs/heads/master' into django
2015-09-29 02:39:03 -07:00
Syrus Akbary
8274fcc5d9
Added introspect method to the schema
2015-09-29 02:38:50 -07:00
Syrus Akbary
80094f45c2
Refactored basic schema code. Make it faster and cleaner
2015-09-29 02:32:58 -07:00
Syrus Akbary
2faa8223e8
Used LazyNativeField for NodeField
2015-09-29 01:18:32 -07:00
Syrus Akbary
18e3ef8698
Created LazyField. Abstracted the Django connection into it.
2015-09-28 23:50:42 -07:00
Syrus Akbary
ac940b9309
Improved Django integration with relations
2015-09-28 23:29:10 -07:00
Syrus Akbary
76147d7c26
Improved Django model conversion
2015-09-28 01:51:51 -07:00
Syrus Akbary
2e8707aee6
First working version with Django.
2015-09-28 00:34:25 -07:00
Syrus Akbary
c79097879d
Improved ObjectType instances
2015-09-27 20:38:44 -07:00
Syrus Akbary
311209760d
Refactored code allowing multiple schemas at the same time.
2015-09-27 20:19:33 -07:00
Syrus Akbary
eafc9a102e
Improved tests and schema definition.
2015-09-26 03:36:00 -07:00
Syrus Akbary
1b7caac39b
First working version with relay 💪
2015-09-25 23:25:10 -07:00
Syrus Akbary
e9cf8616ba
Improved app_label logic
2015-09-25 19:54:14 -07:00
Syrus Akbary
1ec2f5a4c3
Added app_label
2015-09-25 19:41:11 -07:00
Syrus Akbary
9a84d595a1
First relay version
2015-09-25 16:35:17 -07:00
Syrus Akbary
931d0ddb1c
First working version of Graphene 😃
2015-09-24 02:11:50 -07:00