Commit Graph

1646 Commits

Author SHA1 Message Date
Aryan Iyappan
4e32dac251 add tests and docs for disable introspection rule 2021-08-14 08:41:24 +05:30
Aryan Iyappan
ec982ac50b update docs typo 2021-08-14 08:22:04 +05:30
Aryan Iyappan
c68071952d mention how to implement custom validators 2021-08-14 08:20:46 +05:30
Aryan Iyappan
ac5dd90f5f fix typo in docs 2021-08-14 07:54:58 +05:30
Aryan Iyappan
7be4bd6bc6 update docs 2021-08-14 07:49:09 +05:30
Aryan Iyappan
d7b474751d add depth limit validator tests 2021-08-14 07:45:34 +05:30
Aryan Iyappan
a784ef15e5 add disable introspection 2021-08-13 20:24:53 +05:30
Aryan Iyappan
5977b1648c fix typo 2021-08-13 20:04:42 +05:30
Aryan Iyappan
4259502dc3 update docs 2021-08-13 20:02:20 +05:30
Aryan Iyappan
fc2967e276 remove unused imports 2021-08-13 18:51:23 +05:30
Aryan Iyappan
aa11681048 add depth limit validator 2021-08-13 18:22:12 +05:30
Fabian Affolter
fce45ef552
Update pytz to 2021.1 (#1330) 2021-07-16 10:12:09 -07:00
Fabian Affolter
5290c9364c
Allow later aniso8601 releases (#1331) 2021-07-16 10:11:49 -07:00
Sergey Fedoseev
69b6286861
Fix typo in docstring of ObjectType (#1343) 2021-07-16 10:10:53 -07:00
kevinr-electric
485b1ed325
fix field name in execute.rst example (#1327)
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 (#1326)
* 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
shukryzablah
f622f1f53c
Update index.rst (#1313) 2021-03-24 20:32:51 +01:00
bartenra
6f9cdb4888
Fix links to Relay docs (#1318) 2021-03-24 20:32:35 +01:00
Jonathan Kim
2e87ebe5fc
v3.0.0b7 2021-01-06 09:58:19 +00:00
Jason Kraus
e5eeb9d831
fix(Decimal): parse integers as decimal. (#1295) 2021-01-06 09:54:45 +00:00
Varun Dey
e0d4bec2d8
Remove Object Mutation dead link from Relay docs (#1272)
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 (#1255) 2020-10-21 10:13:32 +01:00
Ali Reza Yahyapour
a53b782bf8
Syntax Error Fixed for Dictionary assert (#1267) 2020-09-22 17:10:01 +01:00
Paul Bailey
8c327fc4ed
add BigInt type (#1261)
* add BigInt type

* formatting

* more Int tests
2020-08-28 17:55:46 +02:00
Varun Dey
b685e109f5
Fix typo in Schema docs (#1259) 2020-08-24 17:20:33 +01:00
Daniel T. Plop
6918db1033
Fix Typo in Docs (#1252)
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 (#1251) 2020-08-12 14:43:35 -07:00
Jonathan Kim
86b904d327
Split out the subscriptions documentation a separate file and fix it (#1245) 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 (#1235)
* 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 (#1237) 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 (#1153)
* 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 (#1223) 2020-07-09 17:55:27 +01:00
Eric Rodrigues Pires
c61f0f736a
Add Base64 scalar (#1221) 2020-07-02 10:52:44 -07:00
Jonathan Kim
5b2eb1109a
ObjectType meta arguments (#1219)
* 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 (#1214)
* Revert "Update requirement for Query type in mutation docs (#1213)"

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 (#1215) 2020-06-28 21:54:36 -07:00
Jonathan Ehwald
bf034ca85f
Rename variables called type to type_ (#1216)
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 (#1213) 2020-06-24 19:22:22 -07:00
Jonathan Kim
a1fc3688aa
Remove to_const function (#1212) 2020-06-24 19:21:40 -07:00
Jonathan Kim
4b70186031
Remove @staticmethod decorator in mutations doc (#1206) 2020-06-24 19:18:59 -07:00
Christoph Zwerschke
47c63f3dd7
Fix DateTime Scalar parse_literal methods (#1199) (#1200) 2020-06-04 21:30:23 -07:00
dbgb
966aba06cd
Fix typo in quickstart document (#1201) 2020-05-28 15:41:38 +02:00
Jonathan Kim
b0c8a17ec7
Fix issue with trailing whitespace (#1197) 2020-05-19 22:12:41 -07:00
Jonathan Kim
9b756bf12c
Delete CODEOWNERS 2020-05-09 13:32:52 +01:00
Jonathan Kim
d6acfc6eae
Create config.yml 2020-05-09 13:32:38 +01:00