Commit graph

271 commits

Author SHA1 Message Date
Reyad Attiyat
e5de3d8709 Update Lambda README to include more examples
This commit adds examples for modifying the response headers, to enable CORS, and how to read the event and context variables using an options function
2017-03-20 22:19:54 -05:00
Hagai Cohen
4bf551cd03 fix(tests): fixed typo in testcase of formatError 2017-02-03 22:39:12 +02:00
Hagai Cohen
083b3569b2 chore(package): update internal depenecies 2017-02-02 02:57:07 +02:00
Jonas Helfer
95b1356e5c Merge branch 'master' into lambda-support 2017-01-31 14:27:27 -08:00
Geordie
063af7a069 Update GraphiQL version to 0.9.1 2017-01-31 15:40:57 +01:00
NeoReyad
f48a352e7e Add instructions for deploying the Lambda Function
This adds basic instructions to the README for deploying the lambda function. It uses the Serverless Application Model by creating a template that is used by the AWS CLI.
2017-01-30 23:54:24 -06:00
Reyad Attiyat
236dc25622 Add support for AWS Lambda
Create an integration that will return a lambda handler for a
graphql or graphiql server. This integration requires an API
Gateway with Lambda Proxy Integration.

The test runner expects req and res objects for testing. We
have to mock these for the tests to execute properly.
2017-01-30 16:58:16 -06:00
jadkap
b159845bf4 Add next() calls 2017-01-26 09:39:38 -05:00
Kamil Kisiela
924d13c970 Use one central typescript configuration 2017-01-25 13:54:11 +01:00
Kamil Kisiela
162780e330 Use TypeScript es6 lib 2017-01-25 13:07:51 +01:00
Christian Raidl
e81f592597 allow graphql@0.9.0 as peerDependency 2017-01-25 11:46:07 +01:00
Hagai Cohen
dd08c0e5c2 chore(package): fix es5 compilation for core & operation-store 2017-01-25 02:05:24 +02:00
Hagai Cohen
bf55ab66b0 chore(package): remove babel 2017-01-25 02:05:24 +02:00
Jonas Helfer
eeb9f1d857 Merge branch 'master' into feature/restify-integration 2017-01-24 14:54:50 -08:00
Hagai Cohen
e957242359 chore(package): update all dependancies for internal packages 2017-01-24 14:20:05 +02:00
Hagai Cohen
809ea8f77c chore(travis): increased timeout globally to 5s, reverted node 4 patches 2017-01-24 13:42:17 +02:00
Hagai Cohen
ffe3b983be test(restify): fix tests for restify while rebasing 2017-01-24 12:54:34 +02:00
Hagai Cohen
5b578650ec Merge branch 'master' into feature/restify-integration 2017-01-24 12:39:04 +02:00
Hagai Cohen
3d26656e78 Merge branch 'master' into feature/restify-integration 2017-01-24 12:32:52 +02:00
Hagai Cohen
f0127a471c test(batching#176): increase timeout for parallel, was still not enough for slow Node 4 2017-01-24 12:26:41 +02:00
Hagai Cohen
3c249eb540 test(batching#176): increase timeout for deflat/gzip tests, for slow Node 4 2017-01-24 12:17:01 +02:00
Hagai Cohen
0a7b566431 test(batching#176): increase parallel test timeout while increasing threads as well, for Node v4 2017-01-24 12:17:01 +02:00
Hagai Cohen
47e341f5c2 fix(batching#176): run batched requests in parallel 2017-01-24 12:16:25 +02:00
Hagai Cohen
ad4ce9adb2 test(batching#176): add failing test for serial batching 2017-01-24 12:16:25 +02:00
Jonas Helfer
ec43ee763f Merge branch 'master' into greenkeeper-tslint-4.3.1 2017-01-23 11:02:50 -08:00
Joel Griffith
30a98ab310 Fixes for Restify packages, test updates, README 2017-01-23 09:43:58 -08:00
Hagai Cohen
e6f09c01be chore(tslint): fix linting errors 2017-01-23 13:16:52 +02:00
Alan Christensen
539dd641bf Use graphiql option variables if query variables are not supplied 2017-01-22 21:27:17 -06:00
Joel Griffith
d27b4af3bd Merge remote-tracking branch 'upstream/master' into feature/restify-integration 2017-01-22 11:56:35 -08:00
Jonas Helfer
39908170f1 v0.5.1 2017-01-18 18:47:19 -08:00
Hagai Cohen
01e3010323 fix(get-support): preparse query for GET requests to handle query properly 2017-01-18 10:49:13 +02:00
Hagai Cohen
be573a6ade chore(get-support): cleanup 2017-01-13 16:50:23 +02:00
Hagai Cohen
11bd61065c fix(get-support): unnamed operation was not treated as query 2017-01-13 16:43:08 +02:00
Hagai Cohen
aa3a96aaa9 chore(get-support): blocked GET for queries only 2017-01-13 16:28:23 +02:00
Hagai Cohen
32140cb3e7 chore(get-support): refactor to share http logic in core module
Closes #186
2017-01-13 16:26:41 +02:00
Hagai Cohen
5b46db4aa0 fix(get-support): fixed returned status for get without query 2017-01-13 11:49:31 +02:00
Hagai Cohen
93d7966df8 chore(get-support): rename buffer to requestPayload 2017-01-13 11:49:30 +02:00
Hagai Cohen
d7b724f69d chore(get-support): support for GET method for koa 2017-01-13 11:48:37 +02:00
Hagai Cohen
aa251f0663 chore(get-support): support for GET method for hapi 2017-01-13 11:45:13 +02:00
Hagai Cohen
a2d7c85ff2 chore(get-support): support for GET method for express and connect 2017-01-13 11:45:10 +02:00
Jonas Helfer
3858033ed8 v0.5.0 2017-01-12 23:56:19 +08:00
Jonas Helfer
ca597628c1 Merge branch 'master' into switch-typings 2017-01-12 23:15:06 +08:00
Jonas Helfer
26d55cc5f7 v0.4.4 2017-01-07 12:09:47 +08:00
Sashko Stubailo
2647667cd1 Fix koa typings 2017-01-04 18:15:44 -08:00
Sashko Stubailo
a3b2aa4f45 Fix hapi typings 2017-01-04 18:12:43 -08:00
Sashko Stubailo
c143c6ab1b Fix express typings 2017-01-04 18:10:30 -08:00
Sashko Stubailo
0c48b3436c Fix operation store 2017-01-04 18:09:22 -08:00
Sashko Stubailo
18ea3980e0 Fix typings in graphql-server-core 2017-01-04 18:03:11 -08:00
Sashko Stubailo
ec13412d69 Remove all references to typed-graphql 2017-01-04 17:49:23 -08:00
Yaroslav Kiliba
aca12a4a9f Allow to install graphql@0.8
Fixes #234
2016-12-07 21:01:01 +02:00