Test plan:
* set a short timeout in the rails console:
Setting.set('graphql_statement_timeout', 1)
* graphql queries and mutations should fail (500 error)
* set a long timeout:
Setting.set('graphql_statement_timeout', 60_000)
* queries/mutations should succeed
* a failure in one mutation should not affect the success/failure of
other mutations sent in the same request
closes GQL-35
Change-Id: I3f4db8e951139b06372ab7bb69867efe6acf2283
Reviewed-on: https://gerrit.instructure.com/179545
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
Since Canvas's schema makes frequent use of interfaces and unions, we
need to provide some extra information to apollo to avoid warnings/cache
errors.
Test plan:
pages that use graphql should still work
closes GQL-17
Change-Id: I95a7b343a1726abf02bf3da6e65337cc20583cd7
Reviewed-on: https://gerrit.instructure.com/172937
Tested-by: Jenkins
Reviewed-by: Carl Kibler <ckibler@instructure.com>
QA-Review: Cameron Matheson <cameron@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>