Markus Padourek
e11d595f51
Fixed get type instance method.
2016-10-21 11:22:52 +01:00
Markus Padourek
733e1f70e0
Call super with args and kwargs
2016-10-21 10:29:49 +01:00
Markus Padourek
45b3ba55d7
Fix linting.
2016-10-21 10:18:26 +01:00
Markus Padourek
014769294b
Override instance get_type on scalar instantiation for backwards-compativbility
2016-10-21 09:45:55 +01:00
Markus Padourek
d3305f6056
Make scalar get_type an instance method.
...
Given the current way of how Scalars are mostly being created in the schema, e.g. `graphene.Boolean(description='Some boolean')` and then how they get 'magically' turned into a `Field` using `self.get_type()` it makes sense to make this an Instance method rather than a classmethod. This allows e.g. to set attributes on the instance that will always be accessible, as they are being returned by `get_type`.
2016-10-21 09:34:06 +01: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
Syrus Akbary
5cce7deb34
Merge pull request #323 from Globegitter/patch-9
...
Improve `is_node` error message
2016-10-16 12:21:42 -07:00
Syrus Akbary
1f5c0fe7df
Merge pull request #330 from wenley/wenley/nit-fix-documentation
...
Tweak the documentation to match behavior in the playground.
2016-10-16 12:17:51 -07:00
Wenley Tong
77e4ead0d7
Tweak the documentation to match behavior in the playground.
2016-10-16 11:34:10 -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
71556031bf
Removing is_type_of from docs
2016-09-29 01:42:32 -07:00
Syrus Akbary
8030fea443
Fixed flexible resolving in return type
2016-09-29 01:38:56 -07:00
Syrus Akbary
cdd4afb79a
Update objecttypes.rst
2016-09-28 13:58:39 -07:00
Syrus Akbary
c9aa461c65
Fixed code
2016-09-28 13:58:05 -07:00
Syrus Akbary
c65d5a532a
Updated docs reflecting static resolvers
...
(And a working example of is_type_of)
2016-09-28 13:57:41 -07:00
Syrus Akbary
69ad249619
Updated docs
2016-09-26 09:46:49 -07:00
Syrus Akbary
c920537380
Updated graphene to 1.0 🎉
2016-09-26 09:20:41 -07:00
Syrus Akbary
46cd025835
Updated docs theme
2016-09-26 00:45:23 -07:00
Syrus Akbary
c9a30f7139
Improved docs
2016-09-25 05:01:12 -07:00
Syrus Akbary
6bd03d59d7
Added clientMutationId field to relay.ClientIDMutation. Fixed #300
2016-09-21 19:06:47 -07:00
Syrus Akbary
8128292b02
Improved quickstart
2016-09-21 09:45:57 -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
316569b019
Improved docs. Added schema page
2016-09-21 01:16:35 -07:00
Syrus Akbary
d8eeb65b5c
Added inter docs
2016-09-21 00:51:57 -07:00
Syrus Akbary
fc43421e68
Removed docs layout
2016-09-21 00:20:40 -07:00
Syrus Akbary
0148401c06
Removed executor and middleware from the Schema.
2016-09-20 00:04:41 -07:00
Syrus Akbary
227d9422ff
Fixed READMES. Fixed #296
2016-09-19 18:56:01 -07:00
Syrus Akbary
d112cc5988
Merge pull request #297 from sjhewitt/connection-node
...
relay Connection.node does not have to subclass Node/ObjectType
2016-09-19 14:36:43 -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
2ed800bae3
Added string type upgrade to function
2016-09-18 13:14:52 -07:00
Syrus Akbary
51eb2e593f
Merge pull request #294 from mwilliamson/patch-1
...
Clarify indentation in UPGRADE-v1.0.md
2016-09-18 09:22:13 -07:00