Commit Graph

884 Commits

Author SHA1 Message Date
hung-phan
a74c402f13 Implement JSON type
Remove duplicated test

Remove unicode for python 3

Add more tests

Add None case

Update json type

Remove unnecessary dependencies

Add more test

Add test
2016-12-08 17:45:15 +00:00
Jim van Eeden
774e9bf463 fix so partial functions can be passed to field, solves issue #316 2016-12-02 15:35:43 +01:00
Syrus Akbary
4a31c5a927 Updated version to 1.1.3 2016-12-01 21:10:55 -08:00
Syrus Akbary
80a809216b Removed unused Promise import 2016-12-01 21:07:58 -08:00
Syrus Akbary
3df62d26a7 Fixed coroutines as relay connection resolvers
Related PR #379
2016-12-01 21:05:09 -08:00
Syrus Akbary
51c37fef98 Merge pull request #373 from pizzapanther/master
add time query variable test
2016-11-23 08:26:31 -08:00
Paul Bailey
20ca84966e add time query variable test 2016-11-23 11:23:56 -05:00
Paul Bailey
4653a0e5df add time query variable test 2016-11-23 11:19:24 -05:00
Syrus Akbary
692d7e76ad Merge pull request #372 from pizzapanther/master
Added Time Type
2016-11-23 08:18:53 -08:00
Paul Bailey
ad83a7e076 add time query test 2016-11-23 11:14:49 -05:00
Paul Bailey
48b422e289 add time query test 2016-11-23 11:12:28 -05:00
Syrus Akbary
a8bb6ae348 Updated version to 1.1.2 2016-11-22 23:41:59 -08:00
Syrus Akbary
5e0923b560 Added type getter in the schema when accessing its attrs 2016-11-22 23:34:52 -08:00
Syrus Akbary
df2900e215 Removed schema.register 2016-11-22 23:08:28 -08:00
Syrus Akbary
cf8792ef9e Improved Typemap importing 2016-11-22 23:07:11 -08:00
Syrus Akbary
7c57d71e84 Added a test case for covering InputObjectType as Argument 2016-11-22 22:35:24 -08:00
Paul Bailey
f089c78b99 added time type 2016-11-22 18:08:48 -05:00
Paul Bailey
dddb20a0f4 added time type 2016-11-22 18:04:22 -05:00
Syrus Akbary
67c0872c9f Updated version to 1.1.1 2016-11-15 22:41:10 -08:00
Syrus Akbary
6817761a08 Fixed Union and Interface resolve_type when the field is a List/NonNull 2016-11-15 22:31:46 -08:00
Syrus Akbary
3c99302ed6 Updated version to 1.1.0 2016-11-14 22:19:38 -08:00
Syrus Akbary
bb7976a75f Improved ConnectionField exception message. Fixed #356 2016-11-14 20:28:06 -08:00
Syrus Akbary
0efee6be5d Fixed Union resolve_type. Fixed #313 2016-11-14 20:14:21 -08:00
Syrus Akbary
2e58f53f18 Improved List/NonNull of_type exceptions and tests. Fixed #337 2016-11-14 19:52:40 -08:00
Syrus Akbary
473f97c7b8 Improved messaging for Argument transformation. Fixed #364 2016-11-14 19:34:10 -08:00
Syrus Akbary
e26bbdd937 Merge pull request #362 from Globegitter/node-parent-type
Node parent type
2016-11-14 19:13:36 -08:00
Syrus Akbary
d8ab8fec34 Fixed lint errors 2016-11-14 19:10:32 -08:00
markus
09969355fa Added tests. 2016-11-10 11:10:49 +00:00
markus
c01a9b1843 Merge branch 'master' into node-parent-type 2016-11-10 10:55:15 +00:00
markus
8fa6d61271 Added optional parent type to allow usage of GlobalID in mutations. 2016-11-10 10:54:03 +00:00
Syrus Akbary
6c7cd4e4fa Merge pull request #360 from timothyjlaurent/#359-fix-index-error-on-enum-functions
Add test for _is_sunder and _is_dunder array.py functions.
2016-11-10 02:50:56 -08:00
markus
0a79df3d13 Added tests for global id. 2016-11-10 10:46:34 +00:00
markus
5f7af3e43f Make node arg options and default required to True for GlobalID. 2016-11-10 10:00:59 +00:00
Timothy Laurent
a427a0fb18 Add test for _is_sunder and _is_dunder array.py functions. 2016-11-09 22:27:08 -08:00
Eran Kampf
937e257d60 Fix typo in Union initialization exception 2016-11-08 13:42:59 -08:00
Eran Kampf
344d85c19e fix tests 2016-10-27 10:37:52 -07:00
Eran Kampf
495361ef53 Edges should be NonNull 2016-10-27 10:27:13 -07:00
Syrus Akbary
c7a48c3c2c Added connection promise tests 2016-10-27 02:48:36 +02:00
Syrus Akbary
0b9aa7cbeb Merge branch 'patch-11' 2016-10-27 02:42:05 +02:00
Syrus Akbary
760ccc8358 Improved Promise connection abstraction 2016-10-27 02:41:36 +02:00
Markus Padourek
16e9f221b5 added missing import 2016-10-26 10:52:46 +01:00
Markus Padourek
ea69be6117 Add support to return a promise for connections. 2016-10-26 10:50:27 +01:00
Syrus Akbary
ecdfed257c Improved Field coverage 2016-10-21 09:22:19 -07:00
Syrus Akbary
d7fded7d98 Improved Enum coverage 2016-10-21 09:19:13 -07:00
Syrus Akbary
e1e24327b0 Improved options testing and coverage 2016-10-21 09:12:28 -07:00
Syrus Akbary
24b85d318c Improved OrderedType coverage 2016-10-21 09:00:33 -07:00
Syrus Akbary
47d7adf7b0 Improved documentation in UnmountedTypes 2016-10-21 08:44:44 -07:00
Syrus Akbary
0a80119f5e Fixed Dynamic arguments 2016-10-16 13:14:08 -07:00
Syrus Akbary
f8e636db80 Merge pull request #324 from Globegitter/add-dynamic-tests
Added tests for dynamic field and make more consistent.
2016-10-16 12:54:21 -07:00
Markus Padourek
0408591141 Added additional tests. 2016-10-13 16:54:54 +01:00
Markus Padourek
822b030938 Added tests for dynamic field and make more consistent. 2016-10-13 14:47:43 +01:00
Markus Padourek
ef18eb5ce3 Improve is_node error message 2016-10-13 14:08:28 +01:00
Syrus Akbary
88ccaec8fa Added jsonstring tests 2016-10-03 21:42:07 -07:00
Syrus Akbary
5dd92b7d6b Added datetime tests 2016-10-03 20:51:37 -07:00
Syrus Akbary
95280e4f7c Merge pull request #312 from mikhuang/patch-1
Update datetime.py
2016-10-03 20:31:00 -07:00
Syrus Akbary
fa231fb472 Updated version to 1.0.2 2016-10-03 20:12:11 -07:00
Syrus Akbary
999bca84c9 Fixed mutation with unbound mutate method. Fixed #311 2016-10-03 19:59:26 -07:00
Syrus Akbary
02a6c1c603 Isolated unbound function logic in utils 2016-10-03 19:59:01 -07:00
Michael Huang
9231e0d28d Update datetime.py
Restore ios8601 handling per https://github.com/graphql-python/graphene/pull/152/files
2016-10-03 19:07:16 -07:00
Syrus Akbary
c961f0b3c6 Fixed ConnectionField arguments overwritten. Fixed #252 2016-10-01 11:52:31 -07:00
Syrus Akbary
bd207b5f06 Improved arguments and structures comparison 2016-10-01 11:49:30 -07:00
Syrus Akbary
c792923429 Added ability to return a Connection instance in the connection resolver 2016-10-01 10:44:53 -07:00
Syrus Akbary
ad953f01a7 Updated version to 1.0.1 2016-09-29 01:58:14 -07:00
Syrus Akbary
8030fea443 Fixed flexible resolving in return type 2016-09-29 01:38:56 -07:00
Syrus Akbary
c920537380 Updated graphene to 1.0 🎉 2016-09-26 09:20:41 -07:00
Syrus Akbary
6bd03d59d7 Added clientMutationId field to relay.ClientIDMutation. Fixed #300 2016-09-21 19:06:47 -07:00
Syrus Akbary
b72684192f Fixed tests. 2016-09-21 08:33:56 -07:00
Syrus Akbary
aa86c27ea2 Merge pull request #298 from Globegitter/default-resolver-default-value
Added default value for default resolver.
2016-09-21 01:58:33 -07:00
Markus Padourek
d9b8f5941d Added default value for default resolver. 2016-09-21 09:34:29 +01:00
Syrus Akbary
0148401c06 Removed executor and middleware from the Schema. 2016-09-20 00:04:41 -07:00
Simon Hewitt
a77b27987e re-add node class check 2016-09-19 14:21:00 -07:00
Simon Hewitt
87634240c9 relay Connection.node does not have to subclass Node/ObjectType 2016-09-19 14:13:01 -07:00
Syrus Akbary
f955280d1a Improved sorting/PEP8 syntax 2016-09-18 13:23:35 -07:00
Syrus Akbary
8fb4214809 Improved Field args 2016-09-18 13:21:02 -07:00
Syrus Akbary
5287758f0e Fixed Relay Connection name 2016-09-17 21:14:56 -07:00
Syrus Akbary
aa84d6d8db Improved objecttype typemap duplication 2016-09-17 12:05:05 -07:00
Syrus Akbary
061c33f8d6 Merge branch 'next-typemap-duplicate' 2016-09-17 12:02:41 -07:00
Syrus Akbary
8e320da051 Merge pull request #285 from Globegitter/edge-for-type
Added test for node connection edge.
2016-09-12 08:58:57 -07:00
Syrus Akbary
2fbf17a109 Merge pull request #286 from Globegitter/easier-private-state
Allow initialising ObjectType with private state.
2016-09-12 08:09:31 -07:00
Markus Padourek
2975e1fc42 Allow initialising ObjectType with private state. 2016-09-12 15:51:51 +01:00
Markus Padourek
aa94fe157e compare as dict for py3.5 compat. 2016-09-12 15:36:09 +01:00
Syrus Akbary
bb636b81c2 Merge pull request #284 from dialoguemd/fix-assert-message
Make assertion message use same var as test
2016-09-12 07:31:18 -07:00
Markus Padourek
73945fb569 Added test for node connection edge. 2016-09-12 15:28:13 +01:00
Hugo Duncan
f232e433e6 Make assertion message use same var as test
Ensure that the assertion message correctly shows the value used by
the assertion test.
2016-09-12 10:06:35 -04:00
Markus Padourek
3888307f89 Added GlobalID as well. 2016-09-12 09:31:22 +01:00
Markus Padourek
c15ce93542 Export union type directly. 2016-09-12 09:25:38 +01:00
Syrus Akbary
c78ff81f3a Make Mutation class visible in graphene root package 2016-09-10 22:17:13 -07:00
Syrus Akbary
9f30aa2d45 Added auto_camelcase to TypeMap/Schema 2016-09-10 21:44:10 -07:00
Syrus Akbary
05d71aac75 Added auto_camelcase checking in Schema/Typemap 2016-09-08 22:50:23 -07:00
Syrus Akbary
751c4245c5 Fixed import error 2016-09-08 21:35:18 -07:00
Syrus Akbary
9992952908 Fixed mutation input 2016-09-08 20:38:07 -07:00
Syrus Akbary
92dbba91b7 Fixed mutation tests 2016-09-08 20:16:34 -07:00
Syrus Akbary
b4657a5796 Added PageInfo to graphene exports 2016-09-08 20:14:25 -07:00
Syrus Akbary
d3716ff5db Fixed Mutation with no input 2016-09-08 20:13:52 -07:00
Syrus Akbary
9fc431b581 Fixed Python3 issues 2016-09-04 22:00:33 -07:00
Simon Hewitt
7952f94f53 handle objects being constructed in the typemap multiple times 2016-08-31 14:45:05 -07:00
Syrus Akbary
80fb69a9ae Stop requiring get_node in implemented Nodes 2016-08-24 01:15:59 -07:00
Syrus Akbary
241b59dda9 Added Relay connection tests 2016-08-24 01:11:26 -07:00
Syrus Akbary
4d0b9a0f15 Fixed package version 2016-08-22 22:53:01 -07:00
Syrus Akbary
012d0098e0 Fixed Python3 issues 2016-08-22 22:45:28 -07:00
Syrus Akbary
6543f9272a Updated input field names with out_name 2016-08-22 22:08:49 -07:00
Syrus Akbary
208651a4c0 Fixed connection resolver 2016-08-22 20:34:37 -07:00
Syrus Akbary
d17bd0aa3e Fixed arg names 2016-08-21 23:33:32 -07:00
Syrus Akbary
dac4f2dc19 Fixed SQLAlchemy integration 2016-08-19 09:18:29 -07:00
Syrus Akbary
1e3b30124f Improved benchmarks isolated instancing from type resolution 2016-08-18 09:22:28 -07:00
Syrus Akbary
0922f91c33 Fixed Python3 test assertions 2016-08-17 22:13:55 -07:00
Syrus Akbary
0f76e8f817 Added simple benchmarks 2016-08-17 21:26:05 -07:00
Syrus Akbary
bf5e0e2881 Fixed flake error 2016-08-17 00:52:02 -07:00
Syrus Akbary
a48b41eaf9 Added NonNull restriction 2016-08-17 00:32:53 -07:00
Syrus Akbary
e2904a4d6e Improved typemap testing 2016-08-17 00:28:56 -07:00
Syrus Akbary
135a171fe4 Fixed mutation input inheritance 2016-08-16 23:43:10 -07:00
Syrus Akbary
8e5555a044 Merge branch 'next' into next-allow-subclassing 2016-08-16 23:26:42 -07:00
Syrus Akbary
657810aef7 Fixed enum import 2016-08-16 22:59:44 -07:00
Syrus Akbary
100e03ec0c Add documentation to is_node 2016-08-16 22:58:40 -07:00
Syrus Akbary
3787269812 Moved enum to pyutils 2016-08-16 22:58:03 -07:00
Syrus Akbary
af9e51e58d Added documentation 2016-08-16 21:32:53 -07:00
Syrus Akbary
f53c26c7ab Simplified fields implementation 2016-08-16 21:12:09 -07:00
Markus Padourek
81013fbafb abstract type interface test. 2016-08-16 16:15:00 +01:00
Markus Padourek
a78c487173 Some testing around. 2016-08-16 16:10:05 +01:00
Markus Padourek
ef8d7e2bd2 Added additional test. 2016-08-16 11:43:04 +01:00
Markus Padourek
7913052d07 Added failing test for relay mutation 2016-08-16 11:34:44 +01:00
Markus Padourek
0ef065e5cc Added breaking test to demonstrate wanted subclassing feature. 2016-08-16 11:21:31 +01:00
Syrus Akbary
018811036b Remove unused merge 2016-08-16 00:34:55 -07:00
Syrus Akbary
a056acba62 Added more info to the connections 2016-08-16 00:33:43 -07:00
Syrus Akbary
a55741b03c Added node resolver 2016-08-16 00:15:00 -07:00
Syrus Akbary
8c321875cf Simplified Relay Connection implementation 2016-08-16 00:00:01 -07:00
Syrus Akbary
5cb5d9d65a Improved Relay Connection 2016-08-15 23:24:03 -07:00
Syrus Akbary
fd0b9223cf Made fields logic more clear 2016-08-15 23:19:18 -07:00
Syrus Akbary
030fde2cff Improved system for getting graphene package version 2016-08-14 17:47:52 -07:00
Syrus Akbary
6f99372287 Added relay imports to Graphene. 2016-08-14 17:07:51 -07:00
Syrus Akbary
7940f02ba9 Fixed Argument, Dynamic flake8 bug 2016-08-14 17:05:51 -07:00
Syrus Akbary
6fa32a7287 Fixed PEP8 errors 2016-08-14 16:58:32 -07:00
Syrus Akbary
9f1c5fa682 Fixed Python3 errors 2016-08-14 16:50:03 -07:00
Syrus Akbary
5ca6f6cb7b Added is_base_type back 2016-08-14 15:51:07 -07:00
Syrus Akbary
3feae35f69 Added schema middlewares 2016-08-14 13:40:33 -07:00
Syrus Akbary
29e5502e0e Improved relay ClientIDMutation 2016-08-14 11:05:40 -07:00
Syrus Akbary
dbc981c6d2 Fixed runtime type resolution. 2016-08-14 10:20:09 -07:00
Syrus Akbary
a0228ae6b2 Moved relay is_node definition 2016-08-14 02:19:37 -07:00
Syrus Akbary
f4062c3fc3 Added Dynamic type (resolved in runtime) 2016-08-14 02:19:03 -07:00
Syrus Akbary
99eec49a06 Removed unused code. Small refactor 2016-08-13 23:15:20 -07:00
Syrus Akbary
3f3bb113ce Removed unnecessary files. 2016-08-13 23:06:18 -07:00
Syrus Akbary
7804f10732 Added ClientIDMutation. All examples working 💪 2016-08-13 23:00:25 -07:00
Syrus Akbary
e2036da75f Added relay.Connection and relay.ConnectionField 2016-08-13 21:05:45 -07:00
Syrus Akbary
b19bca7f3b Improved base implementation 2016-08-13 17:37:57 -07:00
Syrus Akbary
0ffdd8d9ab Improved Relay implementation 2016-08-13 17:36:11 -07:00
Syrus Akbary
fd16de8748 Fixed required get_type in Enum for UnmountedType 2016-08-13 17:32:32 -07:00
Syrus Akbary
4f52498a06 Added required option in Argument 2016-08-13 17:32:07 -07:00
Syrus Akbary
2696ae9b73 Make new_types the deafult types 2016-08-13 14:43:51 -07:00
Syrus Akbary
c339afc1ce Added TypeMap objecttype test. Fixed Field arguments 2016-08-13 13:38:05 -07:00
Syrus Akbary
ec4a49498d Added datetime scalar 2016-08-13 13:19:58 -07:00
Syrus Akbary
6e0789bfcd Improved implementation 2016-08-13 13:19:47 -07:00
Syrus Akbary
b68b1753bb Added enum support in typemap 2016-08-13 13:05:38 -07:00
Syrus Akbary
84c1da60dd Added Union. Improved testing and code 2016-08-13 11:10:41 -07:00
Syrus Akbary
0802aaced0 Added InputObjectType conversion 2016-08-13 09:39:46 -07:00
Syrus Akbary
0f66dba7e8 Improved testing 2016-08-13 09:15:24 -07:00
Syrus Akbary
a7b3d193eb Added Field arguments. 2016-08-13 01:50:32 -07:00
Syrus Akbary
70a9de63f9 Added InputObjectType and InputField 2016-08-12 19:23:33 -07:00
Syrus Akbary
8cf5b1d9ab Added Enum 2016-08-12 18:57:18 -07:00
Syrus Akbary
9c4706f7c5 Added Mutation 2016-08-12 18:37:29 -07:00
Syrus Akbary
e408541c7b Improved testing. Added strucutre serialization. Remove unused code 2016-08-12 18:13:47 -07:00
Syrus Akbary
1c24e1b954 Added Union type 2016-08-12 18:06:01 -07:00
Syrus Akbary
7923f45595 Added TypeMap 2016-08-11 19:44:37 -07:00
Syrus Akbary
3620e2ad4e Improved scalars 2016-08-11 01:25:32 -07:00
Syrus Akbary
3e77f258b4 Improved schema 2016-08-11 01:25:24 -07:00
Syrus Akbary
c4fba3b7ca Improved error messaging 2016-08-11 01:02:37 -07:00
Syrus Akbary
feb8fb9b13 Improved schema implementation 2016-08-11 01:00:46 -07:00
Syrus Akbary
ac0e699069 Added schema 2016-08-11 00:27:37 -07:00
Syrus Akbary
453d6d6ab7 Added scalars 2016-08-11 00:05:33 -07:00
Syrus Akbary
55a1450dd3 Improved abstracttypes implementation 2016-08-10 23:39:28 -07:00
Syrus Akbary
cd0be62993 Added abstract types simplification 2016-08-10 23:15:32 -07:00
Syrus Akbary
550ad386f0 Next types 2016-08-10 22:03:38 -07:00
Syrus Akbary
04492600e5 First stage separate interfaces 2016-08-08 09:37:06 -07:00
Syrus Akbary
ff3968faea Removed unused function 2016-08-07 17:08:50 -07:00
Syrus Akbary
2c446658e5 Improved tests 2016-08-07 17:01:09 -07:00
Syrus Akbary
27a0d4147f Removed implements check 2016-08-07 16:53:40 -07:00
Syrus Akbary
0f279abecf Improved unmounted type logic 2016-08-07 16:31:06 -07:00
Syrus Akbary
387b997b1d Fixed tests and flake errors 2016-08-06 19:42:06 -07:00
Syrus Akbary
e6e08f60bc Fixed json literal parsing 2016-08-06 19:21:44 -07:00
Syrus Akbary
ba4d1d6abf Fixed Python3 tests 2016-07-22 20:38:45 -07:00
Syrus Akbary
af4c63512c First working version of graphene-sqlalchemy 2016-07-22 20:24:12 -07:00
Syrus Akbary
12ffb027fa Improved connection abstraction 2016-06-23 15:13:54 -07:00
Syrus Akbary
4168439abe Removed type definitions 2016-06-22 23:38:01 -07:00
Syrus Akbary
b6522f393c Refactored InputObjectType 2016-06-22 23:35:50 -07:00
Syrus Akbary
cbf0d8fedd Moved Enum logic 2016-06-22 23:30:49 -07:00
Syrus Akbary
3529fcb29b Moved scalar definitions 2016-06-22 23:25:09 -07:00
Syrus Akbary
1737089c6d Refactored GraphQL type generator 2016-06-22 23:22:09 -07:00
Syrus Akbary
7d59489183 Remove abstract from options 2016-06-21 23:31:29 -07:00
Syrus Akbary
f9303dab72 Improved Django integration 2016-06-21 23:04:12 -07:00
Syrus Akbary
37ed617fce Fixed Graphene Django integration 2016-06-21 22:52:39 -07:00
Syrus Akbary
043e548f49 Added JSONString 2016-06-21 22:07:16 -07:00
Syrus Akbary
1827099381 Added get_fields to options 2016-06-21 17:40:38 -07:00
Syrus Akbary
b5458493ce Improved objecttype 2016-06-21 14:09:54 -07:00
Syrus Akbary
c87d87d1ea Improved ObjectType fields 2016-06-21 13:09:14 -07:00
Syrus Akbary
568718d573 Added support for Enum descriptions 2016-06-21 12:01:03 -07:00
Syrus Akbary
9a9d7f8873 Moved Interface to ObjectType. Improved integration with latest GraphQL-core 2016-06-21 11:54:14 -07:00
Syrus Akbary
b772499b9b Improved Interface/ObjectType is_type_of abstraction 2016-06-19 14:29:41 -07:00
Syrus Akbary
907a093117 Allow dates in Datetime scalar 2016-06-19 14:28:57 -07:00
Syrus Akbary
d3f98d75f6 Improved relay integration and abstraction 2016-06-19 14:28:47 -07:00
Syrus Akbary
ccd8349ef6 Added as_field utility 2016-06-18 14:32:53 -07:00
Syrus Akbary
3c2f2c3c06 Added DateTime scalar 2016-06-18 14:32:17 -07:00
Syrus Akbary
e7e2ed518a Use OrderedDict in Enum by default 2016-06-18 14:31:19 -07:00
Syrus Akbary
80f98c5fd3 Improved enum. Removed old @implements 2016-06-17 01:27:31 -07:00
Syrus Akbary
995150bfa5 Improved is_graphene_type 2016-06-17 01:27:05 -07:00
Syrus Akbary
35f42f4e0c Improved relay types 2016-06-15 22:45:28 -07:00
Syrus Akbary
dd377c7da3 Fixed Python3 issues 2016-06-15 22:34:12 -07:00
Syrus Akbary
6e38e48faf Improved code lint 2016-06-15 21:40:54 -07:00
Syrus Akbary
ccfed3df3f Improved Python3 compat 2016-06-15 21:40:12 -07:00
Syrus Akbary
145183d0ae Remove commented code 2016-06-15 21:24:01 -07:00
Syrus Akbary
8bd9669d3d Removed unused implements 2016-06-15 21:20:35 -07:00
Syrus Akbary
ee46d8c7be Improved Scalars tests 2016-06-15 21:16:31 -07:00
Syrus Akbary
2172edc033 Improved docs 2016-06-15 21:00:06 -07:00
Syrus Akbary
b91e10ef8a Improved tests 2016-06-15 00:18:20 -07:00
Syrus Akbary
5ccd815fbd Added ConnectionField 2016-06-14 23:48:25 -07:00
Syrus Akbary
c74a75133e Autolint all the files 2016-06-14 22:29:02 -07:00
Syrus Akbary
76ecd895e1 Removed unused code 2016-06-14 22:26:18 -07:00
Syrus Akbary
46918d3ba0 Fixed test 2016-06-14 22:20:06 -07:00
Syrus Akbary
88a81e306b Remove unused logic 2016-06-14 22:17:13 -07:00
Syrus Akbary
afd521de29 Improved relay Connection 2016-06-14 22:13:01 -07:00
Syrus Akbary
ac416b6ab0 Improved ClientIdMutation 2016-06-14 22:04:57 -07:00
Syrus Akbary
8d4cf2d059 Updated Node 2016-06-14 21:45:44 -07:00
Syrus Akbary
6c7cf55b18 Added Mutation support 2016-06-13 20:26:26 -07:00
Syrus Akbary
cf80f87dca Improved ObjectType implementation 2016-06-13 19:58:11 -07:00
Syrus Akbary
d8201c44fa Added better enum 2016-06-13 19:18:00 -07:00
Syrus Akbary
7219babbd7 Improved ScalarType 2016-06-13 18:58:06 -07:00
Syrus Akbary
8078937359 Improved InputObjectType abstraction 2016-06-12 01:15:57 -07:00
Syrus Akbary
a6346664a3 Improved fields logic 2016-06-12 00:20:33 -07:00
Syrus Akbary
e6788993ba Simplified interface logic 2016-06-11 00:47:38 -07:00
Syrus Akbary
eec4c52c33 Renamed from TypeProxy to UnmountedType 2016-06-10 22:40:22 -07:00
Syrus Akbary
c0460060a0 Simplified options 2016-06-10 22:36:48 -07:00
Syrus Akbary
a9e09dcee8 Improved relay connections 2016-06-10 01:20:53 -07:00
Syrus Akbary
66c375bfe3 Added simple relay connection 2016-06-10 00:44:49 -07:00
Syrus Akbary
51e97510c0 Improved relay nodes and field copies 2016-06-10 00:23:31 -07:00
Syrus Akbary
522f769cad Improved Node/Mutation fields 2016-06-09 22:56:41 -07:00
Syrus Akbary
9025b1c8f0 Improve Field and InputField copy 2016-06-09 22:03:04 -07:00
Syrus Akbary
d8d884c9be Improved extend interfaces syntax 2016-06-09 21:47:06 -07:00
Syrus Akbary
d67b7bc6a1 Improved relay compatibility 2016-06-09 21:24:28 -07:00
Syrus Akbary
b24e9a1051 Refactored fields getter to be immutable 2016-06-08 22:23:28 -07:00
Syrus Akbary
25e967200b Improved fields mounting 2016-06-07 22:39:29 -07:00
Syrus Akbary
9f655d9416 Improved interface fields getter 2016-06-07 22:00:00 -07:00
Syrus Akbary
01190fb6ff Added mutation and props utility 2016-06-07 02:28:13 -07:00
Syrus Akbary
4c8f5367ba Simplified code 2016-06-06 20:38:55 -07:00
Syrus Akbary
ec67303594 Restrict the usage of TypeProxy instances 2016-06-06 02:39:47 -07:00
Syrus Akbary
3a566241f3 Use always the resolve methods as unbounds. __func__ to the rescue 2016-06-06 02:06:17 -07:00
Syrus Akbary
0db5b1cfbc Move resolver to interface too 2016-06-06 02:03:57 -07:00
Syrus Akbary
da3769b902 Fix test case 2016-06-06 01:30:29 -07:00
Syrus Akbary
01130b8af5 Set interface list to be immutable 2016-06-06 01:29:05 -07:00
Syrus Akbary
251d7106e2 Improved scalar implementation thinking immutable 2016-06-06 00:48:43 -07:00
Syrus Akbary
77ec170dd5 Let the interfaces be immutable 2016-06-06 00:39:55 -07:00
Syrus Akbary
b17f081906 Improved enum attrs 2016-06-06 00:05:00 -07:00
Syrus Akbary
19dff03784 Improved documentation 2016-06-05 19:29:24 -07:00
Syrus Akbary
ad607eb122 Changed name from GrapheneType to GrapheneGraphQLType 2016-06-04 19:19:08 -07:00
Syrus Akbary
31ea09ff30 Improved options 2016-06-04 19:10:18 -07:00
Syrus Akbary
2b676743ae Removed slots 2016-06-04 19:06:33 -07:00
Syrus Akbary
ff7bf20f6d Added some mutable comments 2016-06-04 18:49:26 -07:00
Syrus Akbary
0f10ae884f Allow InputObjectType instances to be Type proxies 2016-06-04 16:04:21 -07:00
Syrus Akbary
50c1ab62ba Fixed Enum value getter 2016-06-04 15:45:54 -07:00
Syrus Akbary
449b8c67d1 Added reset_counter to ordered types. Improved node implementation 2016-06-04 15:36:32 -07:00
Syrus Akbary
ab72393e66 Added InputField, InputObjectType. Improved Field implementation 2016-06-04 15:22:10 -07:00
Syrus Akbary
89790e7508 Added Enum type 2016-06-04 14:06:16 -07:00
Syrus Akbary
58291a3b25 Moved GraphQL definitions to each corresponding file 2016-06-04 13:05:51 -07:00
Syrus Akbary
a1454fdd74 Fixed resolve context 2016-06-04 12:48:08 -07:00
Syrus Akbary
3acf5fd588 Improved tests 2016-06-04 11:20:45 -07:00
Syrus Akbary
40ce604d2c Improved field resolving 2016-06-04 03:12:09 -07:00
Syrus Akbary
d58d1f8d89 Added List, NonNull types 2016-06-03 23:50:12 -07:00
Syrus Akbary
58dbfefc15 Improved interfaces in objecttypes 2016-06-03 21:28:29 -07:00
Syrus Akbary
33d4f44f04 Refactored all graphene code moving to 1.0 2016-06-03 21:06:54 -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
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
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
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
Marc Tamlyn
aa2f4c5bac Failing test of interface implementation registration. 2016-05-26 12:16:45 +01:00
Syrus Akbary
8bc14953d7 Moved options testing to tests directory 2016-05-23 21:58:25 -07:00
Alec Aivazis
427a08106b fixed linting error 2016-05-22 17:17:07 -07:00
Alec Aivazis
161f198451 added test for auto_camelcase flag 2016-05-22 17:11:55 -07:00
Alec Aivazis
feb0825a63 fixed bug when no middlewares are present 2016-05-22 16:52:30 -07:00
Syrus Akbary
89074492e0 Merge pull request #177 from graphql-python/bugfixes/context-in-connectionfield
Added context to connectionfield resolver
2016-05-21 00:47:56 -07:00
Syrus Akbary
11a5ee189e Fixed issues 2016-05-21 00:40:26 -07:00
Syrus Akbary
ae8a23bfb8 Merge pull request #175 from AdrielVelazquez/master
Allow numbers in to_constant
2016-05-21 00:26:46 -07:00
Syrus Akbary
b9723356fe Fixed PEP8-Python3 errors 2016-05-20 23:52:00 -07:00
Syrus Akbary
577b76e436 Removed plugins. Added middlewares 2016-05-20 23:43:55 -07:00
Syrus Akbary
3428725314 First phase of middlewares 2016-05-20 23:25:54 -07:00
Syrus Akbary
8421b59d3a Improved resolver logic middleware by using promises 2016-05-20 21:44:31 -07:00
Adriel Velazquez
4d15bc4f79 Updating tests for regex changes 2016-05-20 15:20:10 -04:00
Adriel Velazquez
22b8b90fab Allow numbers in to_constant
Enums aren't effected if a int is passed along with the string.
2016-05-20 14:30:56 -04:00
Markus Padourek
5a949ce209 Added context to sqlalchemy connectionfield 2016-05-20 15:26:42 +01:00
Markus Padourek
83c2cb1b27 Add context to django connection field 2016-05-20 14:40:21 +01:00
Markus Padourek
bc98505ee5 Fixed missing context arg 2016-05-20 14:11:21 +01:00
Markus Padourek
e897efb79f Added test for with_context on connectionfield 2016-05-20 14:03:47 +01:00
Markus Padourek
7a5ad21b98 Added context to from_list 2016-05-20 14:00:57 +01:00
Markus Padourek
c4f29f050b Added context to connectionfield resolver 2016-05-20 13:59:39 +01:00
Syrus Akbary
25fd60d1ff Improved plugins 2016-05-20 01:23:45 -07:00
Syrus Akbary
b431bfe477 Fixed django OneToOne inverse relationship conversion. Fix #170 2016-05-19 21:56:05 -07:00
Syrus Akbary
3d66159826 Fixed lint error 2016-05-18 21:54:21 -07:00