Commit Graph

292 Commits

Author SHA1 Message Date
Adam Johnson
7dd8305bdf Change deprecated execute() arguments to new ones
Changed in https://github.com/graphql-python/graphql-core/pull/185 , the docs here were out of date, as were the tests.
2018-08-29 12:35:44 +03:00
Daniel Gallagher
086f9dda99 Run black formatter via pre-commit on all files 2018-07-06 12:09:23 -07:00
Ben Mosher
708278e6dc
docs: mutation 'Output' example (closes #543) 2018-06-26 07:14:46 -04:00
Syrus Akbary
9efdf4c46e
Merge pull request #771 from jkimbo/update-interface-documentation
Update interface documentation
2018-06-18 13:33:59 -07:00
Jonathan Kim
cc54c76a3e Improve wording 2018-06-17 12:05:34 +01:00
Jonathan Kim
e7ebb86e5a Re-order type list 2018-06-17 11:25:32 +01:00
Jonathan Kim
a2db7c5dae Remove an unnecessary field 2018-06-17 11:24:59 +01:00
Jonathan Kim
3f6c3a7a99 Clean up doc and add resolve_type documentation 2018-06-17 11:23:08 +01:00
Jonathan Kim
43e87768d2 Update interface documentation 2018-06-16 15:10:32 +01:00
Raphael Boidol
5c4736e102 Update documentation
* resolver function arguments changed in `objecttypes.rst`
* small typo in `mutations.rst`
2018-06-16 13:11:33 +02:00
Dan
f13e54b4a4 Update contributing docs about using tox and sync tox pytest cmd with travis (#744)
* Update pytest command run by tox to match the command used by travis. Updated README contributing section with info about using tox to run tests.

* Uppercase 'Graphene'
2018-05-30 12:53:44 +01:00
Dan
034b5385a5 Add isort precommit hook & run on all files (#743)
* Add isort and seed-isort-config pre-commit hook

* Fix erroneous isort moving comment to the top of file
2018-05-28 19:18:54 +01:00
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
d6df14923d
Updated docs template 2018-03-13 22:37:36 -07:00
Jonathan Kim
d3b708533d Fix kwarg name in example. Fixes #533 2018-02-17 23:28:33 +00:00
Jonathan Kim
e26c0a3717 Add documentation on NonNull lists 2018-02-07 12:06:29 -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
8123c4ad8f
Fix relay links. 2018-01-20 15:17:52 -08:00
Simon Wörpel
7afeaa052b
Docs: fix typos in example for relay nodes 2017-12-16 00:03:36 +01:00
Jonathan Kim
0a6921d2d0 Add extra documentation on base scalars 2017-12-10 16:07:48 +01:00
Jonathan Kim
76f8a35916 Add documentation for scalar type arguments 2017-12-10 15:53:28 +01:00
Jonathan Kim
502597c5a4 Format duration 2017-12-08 15:03:20 +00:00
Jonathan Kim
27745078bc Document functional middleware 2017-12-08 14:58:03 +00:00
Grégoire Chauvet
98366c6add
Added Date scalar to documentation 2017-11-29 14:32:17 +01:00
Syrus Akbary
375d1f494b
Merge pull request #606 from g--/patch-1
Relay documentation reflects api changes in 2.0
2017-11-26 17:48:43 -08:00
Dan Palmer
834d52f9d3
Use more Pythonic terminology here
"Hash" in the Python world implies a cryptographic hash, or possibly a checksum. Here, I believe "hash" is being used to mean "hash map", which would be more commonly known in Python as a dictionary, or dict for short.
2017-11-25 12:51:53 +00:00
Geoff
ec32c252e7
Relay documentation reflects api changes in 2.0
Specifically, get_node_from_global_id.
2017-11-20 10:05:28 -05:00
Stan Zhavoronkov
3412dba31f
fix Unions.rst
fix Unions.rst docs (copy-paste sentence from interfaces.rst).
2017-11-14 13:04:47 +03:00
Syrus Akbary
71d5b1d943
Merge pull request #587 from ekampf/feature/enum_docs_update
Improved docs for Enums
2017-11-02 22:00:23 -07:00
Eran Kampf
1555c988e0 Fix resolve arguments section according to 2.0 resolvers 2017-10-30 14:31:20 -07:00
Eran Kampf
7f59a8fa7e Added docs 2017-10-30 13:05:02 -07:00
Vincent Poulailleau
98c2af3fcc
fix access to the request in Django
With the current documentation, I get after execution:
"graphql.error.located_error.GraphQLLocatedError: name 'context' is not defined"

I don't get any error after the correction I made (I haven't yet tried to upload a file…)
2017-10-30 16:00:18 +01:00
Varun Dey
ef507c7932 Fixed minor grammatical error 2017-10-27 15:58:32 +05:30
Syrus Akbary
34d03a7bd2 Updated docs to use stable version of Graphene 2.0 2017-10-26 00:22:59 -07:00
Syrus Akbary
7b08dbd2a1 Merge pull request #560 from nikolas/patch-1
quickstart: use print function in example query
2017-10-05 11:38:06 +02:00
Frankie Robertson
a1bc7377bd Add unions doc to index 2017-10-05 11:50:09 +03:00
Nik Nyby
37fbbf55fa quickstart: use print function in example query 2017-10-04 23:09:18 -04:00
Mandeep Singh
b34b3091d4 fix typo in Enum docs 2017-09-03 20:38:06 +05:30
Syrus Akbary
7455063728 Fixed mutation docs (adding missing info arg in mutate) 2017-08-29 09:26:20 -07:00
Syrus Akbary
1d52148b37 Update quickstart.rst 2017-08-27 16:06:35 -07:00
Syrus Akbary
6a85507325 Improved get_node API 2017-07-27 20:06:48 -07:00
Syrus Akbary
0002d42e38 Updated docs 2017-07-27 03:05:58 -07:00
Syrus Akbary
e6b0cbb3bc Merge branch 'master' into 2.0 2017-07-26 22:46:26 -07:00
Syrus Akbary
a56d5d9f77 Added union docs. Fixed #493 2017-07-26 22:43:22 -07:00
Syrus Akbary
fa512cfa50 Improved mutation docs 2017-07-26 22:36:27 -07:00
Syrus Akbary
33a30db5f1 Improved quickstart docs 2017-07-24 00:01:44 -07:00
Syrus Akbary
0e355ee296 Improved documentation examples 2017-07-23 23:29:27 -07:00
Thibaut Fatus
c155b7a56e Doc was missing for using variables in queries
added an example
2017-07-12 18:52:46 +02:00
XatMassacrE
dc5de1f503 Fix doc typo 2017-07-11 11:08:39 +08:00
XatMassacrE
93fc03d9e0 Fix doc typo 2017-07-11 10:27:36 +08:00
Vincent Fretin
9d30136095 Fix typo Grapehne -> Graphene 2017-05-17 11:05:53 +02:00
Ryan Ashcraft
0a9dbb608a Fix typo in dataloader docs 2017-05-15 19:06:23 -07:00
Syrus Akbary
23e028fe72 Merge pull request #460 from yixizhang/typo
fix typo in docs/execution
2017-04-26 23:58:17 -07:00
Yixi Zhang
bad6f5a188 fix typo in docs/execution 2017-04-26 16:27:44 -07:00
Michael Chen
5052536787 Update Relay Documentation Link
Update the link of Relay Specification to Facebook Relay Specifications
2017-04-26 11:45:36 -07:00
Syrus Akbary
082186c169 Added dataloader docs 2017-04-20 00:53:17 -07:00
Syrus Akbary
b71a2cb69e Fixed middleware docs to use whitespaces instead of tabs 2017-04-20 00:34:05 -07:00
Kuan
06757f10c6 Update basic schema with arguments 2017-04-13 10:32:49 -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
038f81e8e1 Added extra parameters section in testing docs
@BossGrand 😉
2017-04-10 16:18:45 -07:00
Syrus Akbary
60e29028a8 Added testing docs 2017-04-10 00:48:06 -07:00
Syrus Akbary
afed25a180 Improved enums comparison and getters. Fixed #444 2017-04-07 22:02:16 -07:00
Grigoriy Beziuk
d86bbd8a86 a fypo fixed so the hyperlink to the graphQL official introduction is shown now 2017-03-10 11:05:01 +03:00
Syrus Akbary
d5960a7630 Merge pull request #427 from nattyait/requirements
Add Sphinx to requirements for building graphene docs
2017-03-01 09:41:27 -08:00
Syrus Akbary
5e7002ce76 Merge pull request #429 from ryanwilsonperkin/patch-1
Spelling/Grammar fixes in docs
2017-03-01 09:40:54 -08:00
Ryan Wilson-Perkin
313a004141 Spelling/Grammar fixes in docs
Hi, thanks for writing these docs! I'm reading through them and hoping to give back by fixing up some spelling and grammatical issues.
2017-03-01 09:30:39 -05:00
Chapman Siu
3a198d052a fixed indent in mutation docs 2017-03-01 22:54:06 +11:00
nattyait
e405a20e3d Add Sphinx to requirements for building graphene docs 2017-03-01 16:11:04 +07:00
Syrus Akbary
e2cdd80a5c Added docs for List and NonNull types. Fixed #326 2017-02-20 22:44:27 -08:00
Syrus Akbary
8b0cd488d4 Improved Mutation docs. Fixed #402 2017-02-20 22:12:55 -08:00
Syrus Akbary
b5cc0a81da Improved scalar docs. Fixed #394 2017-02-20 21:57:39 -08:00
Syrus Akbary
8dff91d4c6 Fix typos in Node docs. 2017-02-08 08:21:14 -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
Syrus Akbary
8f373ccec3 Update mutations.rst 2017-02-06 19:48:09 -08:00
Charles Haro
0ed4050bb6 fixed typo 2017-02-06 17:19:02 -08:00
BossGrand
b9d3abee31 fixed a few documentation bugs
there was a warning of header underline not being long enough

and code type graphql was being used intead of json
2017-02-06 17:14:07 -08:00
BossGrand
1232ff3ee1 Added documentation on how to accept files in a mutation 2017-02-06 11:40:04 -08:00
Syrus Akbary
a749d02663 Fixed mutations Input code. Fixed #398 2017-01-10 15:45:32 +01:00
Syrus Akbary
dda294d911 Merge branch 'master' into master 2016-12-18 13:12:51 -08:00
Paul Bailey
dddb20a0f4 added time type 2016-11-22 18:04:22 -05:00
SangHee Kim
11996e9121 fixed: wrong example for interface 2016-11-21 11:41:35 -05:00
Syrus Akbary
cc776e8def Added execution context example. Fixed #306 2016-11-14 20:49:33 -08:00
Syrus Akbary
815f7528c5 Merge pull request #365 from BossGrand/master
Added documentation for InputFields and InputObjectTypes usage
2016-11-14 17:54:58 -08:00
BossGrand
85cad0efc3 fixed typo in documentation 2016-11-14 17:50:41 -08:00
BossGrand
b179d012d7 Added documentation for InputFields and InputObjectTypes usage 2016-11-14 13:04:19 -08:00
Tina Zhang
c1f567c4e4 add link to official graphql website in Getting Started 2016-11-05 15:31:56 +01:00
Vincent Driessen
b2d7dfe546 Fix sentences to be more readable 2016-11-03 22:17:37 +01:00
Vincent Driessen
f5c5d33639 Fix import paths to match graphene>=1.0 paths 2016-11-03 22:08:41 +01:00
Syrus Akbary
adfbffb267 Added middleware docs 2016-10-31 05:32:59 +01:00
Wenley Tong
77e4ead0d7 Tweak the documentation to match behavior in the playground. 2016-10-16 11:34:10 -07:00
Kalle Jepsen
71b4de9369 Fixed typos and improved language and markup 2016-10-07 12:23:12 +02:00
Syrus Akbary
71556031bf Removing is_type_of from docs 2016-09-29 01:42:32 -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
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
8128292b02 Improved quickstart 2016-09-21 09:45:57 -07: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
9824ae48cf Updated layout 2016-09-17 11:46:01 -07:00
Syrus Akbary
84c8711f79 Improved documentation 2016-09-15 00:50:45 -07:00
Syrus Akbary
94d46f7960 Fixed rtd docs generation 2016-09-11 22:13:57 -07:00
Syrus Akbary
a0d07343e1 First version of integrated Graphene sphinx docs 2016-09-11 21:47:34 -07:00
Syrus Akbary
05a48c634d Removed docs 2016-08-06 19:28:02 -07:00
Syrus Akbary
0f94f2b2ef Improved homepage 2016-05-28 23:08:00 -07:00
Syrus Akbary
2ea6ab48e6 Improved django debug page 2016-05-21 00:23:50 -07:00
Syrus Akbary
10e5424e31 Updated documentation referencing middleware 2016-05-21 00:07:41 -07:00
Pawel Iwaszko
97784bbb11 Fix invalid references to User model in Django tutorial 2016-05-19 15:40:27 +02:00
Alex Rattray
3a69146d8a Document that __debug must be last field 2016-05-18 23:08:38 -07:00
Syrus Akbary
981a7f665a Updated docs adding resolver page with @with_context instructions. Fixed #164 2016-05-18 21:27:55 -07:00
Syrus Akbary
c1c4af8fc9 Added reference to Django introspection schema 2016-05-18 21:05:52 -07:00
Syrus Akbary
079014b926 Added Todo MVC example. Fixed #156 2016-05-10 20:33:36 -07:00
Syrus Akbary
1b39992dbe Merge branch 'refs/heads/master' into features/django-fields
Conflicts:
	graphene/contrib/django/converter.py
	graphene/core/classtypes/enum.py
2016-04-02 20:06:44 -07:00
Syrus Akbary
ef1339a90e Added custom scalars to the docs 2016-04-02 19:46:26 -07:00
Ilhan Sanli
8c39543330 Fix wrong path to graphene.contrib.django 2016-04-01 22:34:34 +02:00
amsb
4f5de4963a Fixed typo in Markdown formatting 2016-03-08 10:25:11 -05:00
Alexander M. Sauer-Budge
c67990d4c0 Updated django quickstart tutorial
Updated stale ingredients.json link and added a few missing steps to
make the instructions completely step-by-step.
2016-03-07 14:09:56 -05:00
Frederik Creemers
b358e4cb5a Add documentation for relay mutations. 2016-02-15 23:06:46 +01:00
Bart Gryszko
8c2d37de32 Typo in tutorial 2016-02-11 11:52:44 +01:00
Syrus Akbary
6853142232 Merge pull request #114 from jeffwidman/patch-2
Fix typo
2016-02-07 23:12:13 -08:00
Jeff Widman
c1d5761177 Fix typo 2016-02-07 20:18:10 -08:00
Jeff Widman
d973db5f8d Improve grammar 2016-02-07 20:13:01 -08:00
timmygee
cac510e7f4 Fix incorrect type in example 2016-02-05 16:16:08 +11:00
Syrus Akbary
457ecbe491 Merge branch 'master' of github.com:graphql-python/graphene 2016-02-04 14:22:47 -08:00
Syrus Akbary
53b3133af5 Added Django Debug page 2016-02-04 14:13:24 -08:00
Syrus Akbary
65fc600faf Merge pull request #107 from defrex/master
Add some clarifications to the custom Scalar type doc
2016-02-04 14:03:57 -08:00
Aron Jones
d16155ea17 remove custom Scalar usage example since it's now consistent with other
types
2016-02-04 16:54:19 -05:00
Aron Jones
c472bf455e add some clarifications to the custom Scalar type doc 2016-02-04 12:04:14 -05:00
Syrus Akbary
ba3f1d7690 Merge pull request #104 from defrex/master
Add a doc on authorization in Django
2016-02-03 13:29:01 -08:00
Aron Jones
810549e999 add a doc on authorization to the Django section 2016-02-03 16:12:46 -05:00
Syrus Akbary
b9109dc00f Added Enum documentation 2016-02-02 19:26:41 -08:00
Syrus Akbary
0531623ab3 Changed React-burger-menu version to be strict. Fixed #97 2016-01-31 15:16:50 -08:00
Syrus Akbary
87d455637c Updated Flask-GraphQL requirement 2016-01-28 12:36:07 -08:00
Syrus Akbary
908c18fdeb Merge pull request #87 from graphql-python/sqlalchemy
Added SQLAlchemy support into graphene 💪
2016-01-26 11:27:26 -08:00
Josh Price
dea09a6dce Fix spelling and grammar 2016-01-25 23:16:44 +11:00
Syrus Akbary
08a957abd0 Updated community page adding Flask integration package 2016-01-23 14:43:41 -08:00
Syrus Akbary
96c1726407 Added SQLAlchemy documentation and fixed installs 2016-01-23 14:40:08 -08:00
Syrus Akbary
3bb0e6c005 Merge branch 'refs/heads/feature/django' 2016-01-13 19:40:38 -08:00
Syrus Akbary
bbf1392ffd Improved Django documentation 2016-01-13 19:40:13 -08:00
Syrus Akbary
33ff3c5299 Fixed build error in docs 2016-01-13 19:21:52 -08:00
Syrus Akbary
c733b38b5c Merge pull request #60 from adamcharnock/feature/django
Django integration implementation
2016-01-13 18:45:52 -08:00
Billy Barbaro
14b9257ef6 Corrected arguments in the mutate documentation. 2016-01-08 18:28:43 -05:00
Kevin Abiera
25022f58d8
Add Django graphql_schema command documentation 2016-01-04 01:51:25 +08:00
Adam Charnock
ffc6707fbf Adding graphene.contrib.django to INSTALLED_APPS in django quickstart 2016-01-02 19:11:38 +00:00
Adam Charnock
716aa8ff66 Adding links to the cookbook example app (links should work upon merge) 2015-12-31 03:18:37 +00:00
Adam Charnock
a881aa94e4 Adding fixture link to docs. This link will work once code is merged 2015-12-31 03:05:19 +00:00
Adam Charnock
216c4350a1 Further additions to docs for new django functionality 2015-12-31 02:58:13 +00:00