Commit graph

1064 commits

Author SHA1 Message Date
Jonas Helfer
6d8047f5dd Remove outdated comments 2017-06-12 22:30:49 -07:00
Hagai Cohen
6d26594858 fix(graphql-server-core): validation for get queries #2 2017-06-12 22:30:49 -07:00
Hagai Cohen
56c346e296 fix(graphql-server-core): validation for get queries 2017-06-12 22:30:49 -07:00
Hagai Cohen
62c6445c58 test(get-validation): add failing test for validation over GET queries 2017-06-12 22:30:49 -07:00
Jonas Helfer
6cfa82ff58 v0.8.0 2017-05-30 20:11:26 -07:00
Jonas Helfer
c4e2f5224a Update dependencies 2017-05-30 20:11:26 -07:00
Jonas Helfer
c85d830c4f Do not include types in koa, restify 2017-05-30 18:12:17 -07:00
dotansimha
35edcea7d2 try to fix tests 2017-05-30 14:36:47 +03:00
dotansimha
9eac2f9a5b update deps 2017-05-29 09:18:18 +03:00
dotansimha
081aed130f update graphiql and move transport version to const 2017-05-28 20:11:40 +03:00
dotansimha
a614ba2543 updated graphql-js version 2017-05-28 20:07:06 +03:00
dotansimha
0401c8e3a6 updated subscriptions-transport-ws version 2017-05-28 16:40:21 +03:00
dotansimha
e718dc5e2e chore(deps): updated graphql-js version to support 0.10.0 2017-05-28 16:37:16 +03:00
Blake Embrey
0e52588a1f Append location.hash to history navigation 2017-05-19 22:30:43 -04:00
Henric Trotzig
0384643778 Stop throwing errors from expressApollo middleware
As reported in #313 and #384, an error thrown that isn't a
`HttpQueryError` will result in an "unhandled promise rejection",
leading to infinitely hanging requests.
2017-05-18 09:23:12 +02:00
Henric Trotzig
d6fe8a15d1 Add test for graphql type validation errors
While exploring ways to reproduce #313, I thought that validation errors
coming from GraphQL's internal type checking would reproduce the issue.
It didn't. But instead of throwing out the test I wrote, I thought it
might be good to keep it around to prevent future possible regressions.

I'll keep exploring ways to reproduce the issue I'm experiencing in a
subsequent commit(s).
2017-05-18 09:23:12 +02:00
Hagai Cohen
7c0dd0eee0 chore(hapi): fix typings rename 2017-05-18 01:04:23 +03:00
Jonas Helfer
4ab4b62c25 v0.7.2 2017-04-21 10:43:34 -07:00
Comus Leong
230d33b50e add back passHeader
fix #363
2017-04-16 11:58:44 +08:00
Jonas Helfer
73e8334827 v0.7.1 2017-04-14 10:37:26 -07:00
Chua Kiem Fai
d648c3efb8 Fix broken endpointURL 2017-04-11 15:27:29 +08:00
Jonas Helfer
6947222889 v0.7.0 2017-04-10 11:48:26 -07:00
Jonas Helfer
25e63d4dde Revert "v0.7.0"
This reverts commit b0817dbcab.
2017-04-10 11:46:50 -07:00
Jonas Helfer
b0817dbcab v0.7.0 2017-04-10 11:40:12 -07:00
Hagai Cohen
71c0a62a09 generic options resolve function (#335)
* chore(ws-core): created generic options resolve function
2017-04-08 17:25:26 -07:00
Hagai Cohen
ece5f30da2 Update dependencies (#350)
* Update dependencies
* chore(package): fix changelog
* chore(tests): disable tests for koa over node 6
* update changelog
2017-04-08 17:03:40 -07:00
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