Commit Graph

1701 Commits

Author SHA1 Message Date
Fabian Affolter
5290c9364c
Allow later aniso8601 releases () 2021-07-16 10:11:49 -07:00
Sergey Fedoseev
69b6286861
Fix typo in docstring of ObjectType () 2021-07-16 10:10:53 -07:00
kevinr-electric
485b1ed325
fix field name in execute.rst example ()
fix field name in execute.rst 'Operation Name' example
2021-04-22 20:28:05 -07:00
Minh Tu Le
c08379ed85
Use argument's default_value regardless if the input field is required ()
* Use argument's default value regardless if the input field is required

* Add a test

* Format code
2021-04-19 10:03:11 -07:00
Justin Miller
55cbc4d100 Merge branch 'DocFixes' of github.com:justinrmiller/graphene into DocFixes 2021-04-12 23:54:06 -07:00
Justin Miller
fbac4d5092 Fixing grammar and spelling errors across a number of files. 2021-04-12 23:53:36 -07:00
Justin Miller
002b769db4 Fixing Dataloader docs due to tox issue. 2021-04-12 23:32:11 -07:00
Justin Miller
12302b78f9
Update schema.rst 2021-04-12 23:08:42 -07:00
Justin Miller
db9d9a08f2
Update schema.rst 2021-04-12 23:01:20 -07:00
Justin Miller
3ed8273239
Update dataloader.rst 2021-04-12 22:48:53 -07:00
Justin Miller
a5fbb2e9e5
Update middleware.rst 2021-04-12 22:44:41 -07:00
Justin Miller
5acd04aa93
Update mutations.rst 2021-04-12 22:40:08 -07:00
Justin Miller
17f6a45a47
Update unions.rst 2021-04-12 22:37:32 -07:00
Justin Miller
f5321d619c
Update interfaces.rst 2021-04-12 22:33:14 -07:00
shukryzablah
f622f1f53c
Update index.rst () 2021-03-24 20:32:51 +01:00
bartenra
6f9cdb4888
Fix links to Relay docs () 2021-03-24 20:32:35 +01:00
Alec Rosenbaum
7004515f06 implement interface interfaces on TypeMap, fix failing test 2021-01-15 13:13:05 -05:00
Alec Rosenbaum
a17f63cf03 add failing type_map test, bar_graphql_type has no interfaces 2021-01-15 13:10:14 -05:00
Alec Rosenbaum
86b7e6ac86 update InterfaceOptions to fix failing test 2021-01-15 13:02:08 -05:00
Alec Rosenbaum
ae93499a37 add failing test for interface meta 2021-01-15 13:01:43 -05:00
Jonathan Kim
2e87ebe5fc
v3.0.0b7 2021-01-06 09:58:19 +00:00
Jason Kraus
e5eeb9d831
fix(Decimal): parse integers as decimal. () 2021-01-06 09:54:45 +00:00
Varun Dey
e0d4bec2d8
Remove Object Mutation dead link from Relay docs ()
The official Relay project has removed 'Relay input Object Mutation' in favour of general mutation spec from their docs in [this PR](https://github.com/facebook/relay/pull/2401/files#diff-98bee0595817d7a46cd52d86e6c3db70) and is unavailable on their [official website](https://relay.dev/docs/en/graphql-server-specification#mutations) as well
2020-11-17 08:01:21 -08:00
Jonathan Kim
7d09e5b138
Update stale.yml 2020-10-27 08:51:51 +00:00
Jonathan Kim
84582eb374
v3.0.0b6 2020-10-21 10:15:38 +01:00
Alec Rosenbaum
e24ac547d6
Add UnforgivingExecutionContext () 2020-10-21 10:13:32 +01:00
Ali Reza Yahyapour
a53b782bf8
Syntax Error Fixed for Dictionary assert () 2020-09-22 17:10:01 +01:00
Paul Bailey
8c327fc4ed
add BigInt type ()
* add BigInt type

* formatting

* more Int tests
2020-08-28 17:55:46 +02:00
Varun Dey
b685e109f5
Fix typo in Schema docs () 2020-08-24 17:20:33 +01:00
Daniel T. Plop
6918db1033
Fix Typo in Docs ()
The example of executing a query by passing a root value had a typo for
the trailing parenthesis, namely it was '}' instead of ')'.
2020-08-12 14:44:00 -07:00
Jonathan Kim
188ce9a6cb
Fix subscribe with arguments () 2020-08-12 14:43:35 -07:00
Jonathan Kim
86b904d327
Split out the subscriptions documentation a separate file and fix it () 2020-08-07 14:37:32 -07:00
Jonathan Kim
29dd3f8391
v3.0.0b5 2020-08-06 17:19:02 +01:00
Syrus Akbary
d085c8852b
Subscription revamp ()
* Integrate async tests into main code

* Added full support for subscriptions

* Fixed syntax using black

* Fixed typo
2020-07-28 13:33:21 -07:00
Redowan Delowar
2130005406
Minor grammatical fix in the schema docs () 2020-07-27 11:56:14 -07:00
Jonathan Kim
64af43748c
v3.0.0b4 2020-07-14 14:31:54 +01:00
Jonathan Kim
81fff0f1b5
Improve enum compatibility ()
* Improve enum compatibility by supporting return enum as well as values and names

* Handle invalid enum values

* Rough implementation of compat middleware

* Move enum middleware into compat module

* Fix tests

* Tweak enum examples

* Add some tests for the middleware

* Clean up tests

* Add missing imports

* Remove enum compat middleware

* Use custom dedent function and pin graphql-core to >3.1.2
2020-07-13 15:40:57 -07:00
Jonathan Kim
d042d5e95a
Expose Base64 type and add custom scalar examples () 2020-07-09 17:55:27 +01:00
Eric Rodrigues Pires
c61f0f736a
Add Base64 scalar () 2020-07-02 10:52:44 -07:00
Jonathan Kim
5b2eb1109a
ObjectType meta arguments ()
* Pass extra kwargs down the meta chain

* Rename name argument to allow custom name

* Reword error message

* Explicitly define kwargs

* Revert change to explicit kwargs

* name -> name_ for Enum __new__ function
2020-06-29 15:26:08 -07:00
Jonathan Kim
ecd11ccc1e
Revert 1213 update mutation docs ()
* Revert "Update requirement for Query type in mutation docs ()"

This reverts commit a9625dac0e.

* Add test to check that Query type must be defined
2020-06-29 07:53:53 -07:00
Jonathan Kim
324df19d3d
Set min version of graphql-core to v3.1.1 () 2020-06-28 21:54:36 -07:00
Jonathan Ehwald
bf034ca85f
Rename variables called type to type_ ()
Co-authored-by: Daniel Gallagher <daniellg@yelp.com>
2020-06-27 11:18:11 +01:00
Jonathan Kim
05d96a9833 v3.0.0b3 2020-06-25 17:57:42 +01:00
Jonathan Kim
a9625dac0e
Update requirement for Query type in mutation docs () 2020-06-24 19:22:22 -07:00
Jonathan Kim
a1fc3688aa
Remove to_const function () 2020-06-24 19:21:40 -07:00
Jonathan Kim
4b70186031
Remove @staticmethod decorator in mutations doc () 2020-06-24 19:18:59 -07:00
Christoph Zwerschke
47c63f3dd7
Fix DateTime Scalar parse_literal methods () () 2020-06-04 21:30:23 -07:00
dbgb
966aba06cd
Fix typo in quickstart document () 2020-05-28 15:41:38 +02:00
Jonathan Kim
b0c8a17ec7
Fix issue with trailing whitespace () 2020-05-19 22:12:41 -07:00