Commit Graph

910 Commits

Author SHA1 Message Date
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