Syrus Akbary
985252920c
Fixed argument output name. Fixed #490
2017-06-24 12:46:51 -07:00
Syrus Akbary
c41b183fad
Fixed lint in graphene.test
2017-06-24 12:24:20 -07:00
Syrus Akbary
6c2b940a03
Improved ClientIDMutation tests for thenables
2017-06-24 12:23:56 -07:00
Syrus Akbary
645bfddfe9
Improved Test Framework to support promises as returned GraphQL execution
2017-06-16 11:09:36 -07:00
Daniel Johnston
83857bfcfe
Fixed typo.
2017-05-05 14:38:46 -07:00
Daniel Johnston
388253ede4
Added type consistency.
2017-05-05 14:27:46 -07:00
Daniel Johnston
7642644d82
Removed white space.
2017-05-05 14:23:51 -07:00
Daniel Johnston
59f4ddcd94
Removed white space.
2017-05-05 14:23:21 -07:00
Syrus Akbary
8cae7bd16f
Updated version to 1.4.0
2017-04-20 00:55:13 -07:00
Syrus Akbary
a7511d3a2c
Added possible_types option to ObjectType.Meta
2017-04-14 22:32:12 -07:00
Syrus Akbary
b8323ed8e7
Merge pull request #446 from graphql-python/features/improved-enums
...
Improved enums comparison and getters
2017-04-12 23:26:52 -07:00
Syrus Akbary
e92b03bed5
Allow Node inner types to be lazy. Fixed #437
2017-04-12 23:23:44 -07:00
Syrus Akbary
6c040e68a2
Fixed six import
2017-04-10 16:18:52 -07:00
Syrus Akbary
917dc16ea6
Fixed format_error
2017-04-10 16:10:35 -07:00
Syrus Akbary
dfcd7f2563
First version of the Graphene test client and snapshots 💪
2017-04-09 21:08:35 -07:00
Syrus Akbary
afed25a180
Improved enums comparison and getters. Fixed #444
2017-04-07 22:02:16 -07:00
Syrus Akbary
aaf9e92d24
Updated version to 1.3.0 💪
2017-04-06 22:20:56 -07:00
Syrus Akbary
4b71465922
Improved lazy types support in Graphene
...
This commit also adds support for string types in Field, InputField, List and NonNull, where the string will be import. Usage like: Field("graphene.String")
2017-04-06 22:13:06 -07:00
Syrus Akbary
bd0d418986
Fixed promisify
2017-04-05 16:27:17 -07:00
Yue Gong
3822d6568e
Update module_loading documents
2017-03-25 17:59:01 +08:00
Yue Gong
087f1c55cd
Improve lazy_import() to accept dotted_attributes
2017-03-25 17:41:47 +08:00
Syrus Akbary
d4d8a76a09
Fixed circular union. Fixed #439
2017-03-24 22:40:16 -07:00
Syrus Akbary
48efec307c
Improved Options merge attrs. Fixed #432
2017-03-04 18:13:16 -08:00
Syrus Akbary
ad251e9a8d
Fix ObjectType special types. Fix #425
2017-02-26 21:09:21 -08:00
Syrus Akbary
98825fa4bc
Added optional default_resolver to ObjectType.
2017-02-24 00:02:36 -08:00
Wei Yen
c592e94f73
Use trim_docstring to ensure description has no leading whitespace
2017-02-22 07:03:30 +11:00
Wei Yen
0dc8e57c50
Implement trim_docstring
...
Thin wrapper around `inspect.clean_doc`
2017-02-22 07:03:30 +11:00
Wei Yen
d1d87221d5
Regression test to ensure docstring is trimmed
...
Related to issue #418
2017-02-22 06:55:47 +11:00
Syrus Akbary
81a2ed0bfe
Updated graphene version to 1.2.0
2017-02-20 22:28:42 -08:00
Syrus Akbary
11bed46a26
Renamed Generic to GenericScalar
2017-02-20 22:22:54 -08:00
Syrus Akbary
1a52cf9a3d
Fixed lint
2017-02-20 21:59:38 -08:00
Syrus Akbary
74400642ed
Added lazy_import to graphene. Fixed #316
2017-02-20 21:57:04 -08:00
Syrus Akbary
0e2d9be6a8
Fixed test schema with empty query. Fixed #409
2017-02-20 21:41:11 -08:00
Syrus Akbary
ba29de5670
Improved assertion messages. Fixed #400
2017-02-20 21:26:47 -08:00
Syrus Akbary
51b72d8dc8
Renamed from JSON to Generic
...
As it's implementation is abstract of the serializer/unserializer used.
2017-02-20 02:54:54 -08:00
Syrus Akbary
2044d29edb
Merge pull request #387 from hung-phan/master
...
Implement JSON type
2017-02-20 02:51:10 -08:00
Syrus Akbary
2f87698a0b
Improved TypeMap and Dynamic Field to optionally include the schema
2017-02-20 02:35:30 -08:00
Syrus Akbary
e8fc58afd6
Improved Node get_node_from_global_id
...
This introduces a breaking changes for custom Nodes implementations
2017-02-07 22:35:03 -08:00
James Pollock
f728542ce7
Allow class methods to be used as a field source
2017-01-27 21:17:49 +00:00
Syrus Akbary
2ef0e23dcf
Set unions as unmounted types
2017-01-14 21:27:01 -08:00
Syrus Akbary
573101fc90
Renamed from MountedType.mount to MuntedType.mounted
2016-12-18 14:03:03 -08:00
Syrus Akbary
edd090efde
Added Mounted type tests
2016-12-17 17:17:32 -08:00
Syrus Akbary
27cd00b9f9
Merge pull request #391 from graphql-python/features/mounted-refactor
...
Refactored mounted types logic
2016-12-17 16:29:44 -08:00
Syrus Akbary
93dacda923
Refactored mounted types logic
2016-12-17 16:25:49 -08:00
hung-phan
17ea139ce4
Update test
2016-12-08 17:50:36 +00:00
hung-phan
c200a088c0
Add None case
2016-12-08 17:47:33 +00:00
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