Commit graph

338 commits

Author SHA1 Message Date
Nick Nance
45aa44f08e Zeit micro support (#347)
* micro is only supported in node 6 or greater
* update dependencies
* working Graphiql Server
* updated changelog
* fix linting errors
* adding micro to test suite
* added micro example
2017-04-08 14:17:49 -07:00
Reyad Attiyat
3aa573b83e Update ts-lint to version 5.0
- Fix missing semicolons
- Fix missing trailing commas
- Disable no-unused-expression for runQuery test
    - expect uses unused expressions as an api Ex. expect('foo').to.be.equal();
- Disable no-use-before-declare since it requires type checking and project
  file to be defined.
2017-03-30 20:26:59 -05:00
Hagai Cohen
f7e2fb0809 Merge branch 'master' into feat/subscriptions-graphiql 2017-03-30 09:48:41 +03:00
Urigo
23b534a107 feat(subscriptions): added missing "?" to props definition 2017-03-28 20:29:12 +03:00
Urigo
12c8a02b18 Merge branch 'master' into feat/subscriptions-graphiql
# Conflicts:
#	lerna.json
#	package.json
#	packages/graphql-server-lambda/README.md
#	packages/graphql-server-lambda/src/lambdaApollo.ts
2017-03-28 20:27:21 +03:00
Urigo
d5053c928a feat(subscriptions): updated fetcher version 2017-03-28 20:25:45 +03:00
Urigo
99d1bcf27a feat(subscriptions): updated packages imports 2017-03-28 20:25:45 +03:00
Urigo
af86de8088 feat(subscriptions): dont include transport if not using subscriptions 2017-03-28 20:25:45 +03:00
Urigo
54443b8bfe feat(subscriptions): added subscriptions graphiql to all server types 2017-03-28 20:25:45 +03:00
Urigo
68e4a35dc2 feat(subscriptions): added subscriptions for graphiql 2017-03-28 20:25:45 +03:00
Urigo
c4fabe3675 added support for subscriptions 2017-03-28 20:25:45 +03:00
Hagai Cohen
e2c4258dbc fix(tests): fixed typo in testcase of formatError 2017-03-28 20:25:45 +03:00
Hagai Cohen
8b9e433025 chore(package): update internal depenecies 2017-03-28 20:25:45 +03:00
NeoReyad
63bcd4696b 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-03-28 20:25:44 +03:00
Reyad Attiyat
cd1c19d033 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-03-28 20:25:16 +03:00
Hagai Cohen
37999421a1 Update dependencies 2017-03-22 15:16:39 +02:00
Hagai Cohen
61ebda42e8 chore(package): align versions with lerna again 2017-03-22 15:16:39 +02:00
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