Commit Graph

1320 Commits

Author SHA1 Message Date
Lewis
7d998f0844
add Graphene-Mongo to intergrations list
The Graphene-Mongo integration is missing from the intergration index. So I added the Graphene-Mongo docs to the integration index.
2018-04-12 10:38:48 +09:00
Syrus Akbary
9408ba70d1 Fields default_value are no longer dismissed. Fixed #702. 2018-04-07 15:31:04 -07:00
Syrus Akbary
05d7e61b84 Updated version to 2.1.0 2018-03-29 22:38:51 -07:00
Syrus Akbary
d8aacc3b9e
Merge pull request #701 from graphql-python/feature/date-improvements
Datetime improvements
2018-03-29 22:35:28 -07:00
Syrus Akbary
50cd43c6e5 Added Date, DateTime and Time to global exports 2018-03-29 22:31:36 -07:00
Syrus Akbary
85e354c139 Merge branch 'master' into feature/date-improvements
# Conflicts:
#	graphene/types/datetime.py
2018-03-29 22:10:18 -07:00
Syrus Akbary
b4255e55fd Use aniso8601 instead of iso8601 2018-03-29 22:05:12 -07:00
Syrus Akbary
d46d8e8c33 Allow mutations to be required. Improved testing. Fixed #694 2018-03-21 21:31:56 -07:00
Syrus Akbary
562cafc14f Fixed str on abstract types. Improved repr 2018-03-21 21:21:03 -07:00
Syrus Akbary
415b71f730
Merge pull request #679 from anisjonischkeit/patch-1
Made DateTime types return GraphQLError on fail
2018-03-20 20:26:46 -07:00
Syrus Akbary
f4d1553d48
Merge pull request #692 from abawchen/fix-deprecations-url
Fix deprecations url
2018-03-20 20:24:06 -07:00
abawchen
a96ed550bd Fix deprecations url in DeprecationWarning message. 2018-03-20 08:14:59 +08:00
abawchen
dbc2ee4da9
Merge pull request #1 from graphql-python/master
Sync with original repo.
2018-03-20 07:30:53 +08:00
Syrus Akbary
2594cdb614 Fixed Meta included in Enum members. Fixed #685 2018-03-14 22:15:24 -07:00
Syrus Akbary
d6df14923d
Updated docs template 2018-03-13 22:37:36 -07:00
Anis Jonischkeit
9973fd314f added tests for when bad input is passed into date/datetime/time fields 2018-03-14 13:06:10 +10:00
Anis Jonischkeit
2a67ffeb35 fixed function name for test to be what it is actually testing and prevent name colision 2018-03-14 12:51:34 +10:00
Anis Jonischkeit
1a1efbd77d
linting: added two lines after end of class 2018-02-27 10:21:41 +10:00
Anis Jonischkeit
84fbf5dc23
Made DateTime types return GraphQLError on fail
This change makes it so that when an incorrectly formatted date string gets passed to a Date / Time argument a GraphQLError is returned rather than a GraphQLLocatedError. Since Date / Time are types, their errors should not be in the same class as errors in your application. This is also inline with how other types work in graphene (graphene.Int, graphene.Float)
2018-02-27 10:00:20 +10:00
Syrus Akbary
5df134e096
Merge pull request #675 from jkimbo/fix-type-in-example
Fix kwarg name in example. Fixes #533
2018-02-19 19:10:17 -08:00
Syrus Akbary
c5ce04f31e
Merge pull request #676 from jkimbo/exclude-examples-module
Exclude examples module in setup.py
2018-02-19 19:10:08 -08:00
Jonathan Kim
79f7cc08e3 Exclude examples module in setup.py
Fixes #608
2018-02-18 17:21:19 +00:00
Jonathan Kim
d3b708533d Fix kwarg name in example. Fixes #533 2018-02-17 23:28:33 +00:00
Syrus Akbary
8c7ca74c6f
Merge pull request #673 from jkimbo/relay-connection-required
Fix bug when setting a Relay ConnectionField to be required
2018-02-17 14:06:39 -08:00
Jonathan Kim
c25bcb3345 Move NonNull check 2018-02-17 21:50:40 +00:00
Jonathan Kim
38baf7ab52 Handle relay connection field being required 2018-02-17 20:18:55 +00:00
Jonathan Kim
42c96a453f Added failing test 2018-02-17 20:18:49 +00:00
Syrus Akbary
0971a05b33 Improved support / assertion for graphql types in Schema 2018-02-09 10:49:08 -08:00
Syrus Akbary
a7a4ba62af
Enabled possibility of setting name, description or deprecation_reason in mutation Fields
Fixed  #634, $660 #626 and #593
2018-02-08 23:56:13 -08:00
Syrus Akbary
da0b2c6805
Merge pull request #661 from pjdelport/fix-GitHub-link-tags
Fix broken GitHub link tags: 2.0 -> v2.0.0
2018-02-07 19:45:27 -08:00
Syrus Akbary
4e5a49789b
Merge pull request #665 from pjdelport/patch-1
Update .gitignore for pytest 3.4+
2018-02-07 19:44:57 -08:00
Syrus Akbary
113cf8da38
Merge pull request #666 from pjdelport/patch-2
Tox: Add py36 to default envlist
2018-02-07 19:44:43 -08:00
Pi Delport
265719d11f
Tox: Add py36 to default envlist 2018-02-08 01:32:10 +02:00
Pi Delport
f4b21c7a75
Update .gitignore for pytest 3.4+
Pytest 3.4.0 changes the default cache directory from `.cache` to `.pytest_cache`.

Changelog: https://docs.pytest.org/en/latest/changelog.html#pytest-3-4-0-2018-01-30
2018-02-08 01:31:12 +02:00
Pi Delport
368a2a02fe (Fit line length < 120) 2018-02-08 01:26:27 +02:00
Syrus Akbary
c044b2431b
Merge pull request #664 from jkimbo/document-nonnull-list
Add documentation on NonNull lists
2018-02-07 13:58:26 -07:00
Jonathan Kim
e26c0a3717 Add documentation on NonNull lists 2018-02-07 12:06:29 -08:00
Pi Delport
4fa0df401a Fix broken GitHub link tags: 2.0 -> v2.0.0 2018-02-05 16:49:16 +02:00
Syrus Akbary
e94716d94a
Merge pull request #653 from dkleissa/master
Update middleware example to support introspection
2018-01-24 19:25:53 -08:00
Dean Kleissas
035ff7ef88 Update middleware example to support introspection
In the `timing_middleware` example, introspection queries will fail due to `Schema` and others not having `_meta` attributes. API will work and tests pass but introspection will fail, which can be quite confusing to the developer. Simple update makes sure the `root` variable has a `_meta` attribute before accessing it.
2018-01-24 16:48:14 -05:00
Syrus Akbary
a0fc843513
Merge pull request #641 from presencelearning/issue-610-connection-name
Allow ObjectType to set Connection name
2018-01-20 15:37:46 -08:00
Syrus Akbary
8123c4ad8f
Fix relay links. 2018-01-20 15:17:52 -08:00
Syrus Akbary
be1f7d72a4
Merge pull request #644 from frsv/issue-643_fields_capitalizes_incorrectly
Change .title method to .capitalize in to_camel_case() in str_convertes.py
2018-01-11 11:43:10 -08:00
Roman Fursov
9dde259f54 Change .title method to .capitalize in to_camel_case in str_convertes.py 2018-01-10 17:25:15 +03:00
Brian Chapman
a2178dc220 Allow ObjectType to set Connection name 2018-01-08 09:16:02 -08:00
Syrus Akbary
38db32e4f2
Merge pull request #630 from dfee/425-extended
extended support for subclassing with meta to Enum and InputObjectType
2017-12-26 17:50:13 +00:00
Syrus Akbary
25dab925ee
Merge pull request #629 from simonwoerpel/master
Docs: fix typos in code-example for relay nodes
2017-12-23 10:17:31 -08:00
Syrus Akbary
94d5e345a1
Merge pull request #635 from jkimbo/error-missing-type
Raise better error if type is missing from schema
2017-12-23 10:17:06 -08:00
Jonathan Kim
d6968c2e92 Raise better error if type is missing from schema 2017-12-20 18:43:51 +00:00
Devin Fee
a16c5ba00b extended support for subclassing with meta to Enum and InputObjectType 2017-12-16 21:49:23 -08:00