Commit graph

24 commits

Author SHA1 Message Date
Nicolás López
be0236ca6c Add try catch 2016-10-17 13:55:10 -03:00
Nick Nance
f4546e7654 Output stack trace for errors in debug mode (#137)
* add debug option to runQuery

* add test for integrations

* update changelog

* fix lint error
2016-09-12 15:02:41 -07:00
Nick Nance
d0ed1faa0f Improve log function (#136)
* improve log function

* fix test cases

* update changelog

* add PR to changelog
2016-09-10 15:28:38 -07:00
Ben Newman
4c82b8ebd2 Execute queries in Fibers to support yielding APIs. (#92)
* Execute queries in Fibers to support yielding APIs.

See also: https://github.com/meteor/promise/blob/master/promise.d.ts

* Improve comment about Promise.await.

* Don't make Promises aware of Fibers except in tests.

The Promise used by Meteor will already be Fiber-enabled, so calling
makeCompatible in the tests is just simulating running in a Meteor
environment.
2016-08-14 00:19:31 -07:00
Jonas Helfer
8ed8eee6a4 move request.end before formatResponse (#88) 2016-08-08 14:01:21 -07:00
Jonas Helfer
ff8f1ea239 pass options to formatResponse 2016-08-05 11:42:46 -07:00
Jonas Helfer
adf57271ba log server events to logFunction (#78)
* log server events to logFunction

* update changelog
2016-08-05 11:14:56 -07:00
Jonas Helfer
782cb20864 clarify when validationRules are applied 2016-07-05 14:10:42 -07:00
Jonas Helfer
8a99ed6f33 add support for extra validation rules 2016-07-05 14:10:27 -07:00
Jonas Helfer
058f9a7862 move formatError and formatResponse into runQuery 2016-06-27 21:58:22 -04:00
Jonas Helfer
46ec68377c remove some comments that no longer apply 2016-06-27 19:19:05 -04:00
Jonas Helfer
b3d4c05295 go back to using es6 compile target 2016-06-27 16:14:49 -04:00
Jonas Helfer
cc4fa17c50 allow variables to be passed as string 2016-06-26 21:06:37 -04:00
Jonas Helfer
492ff50da8 install http-errors typings, fix typos 2016-06-24 17:16:33 -04:00
Jonas Helfer
33b185e70f fix merge commit 2016-06-24 17:13:11 -04:00
Jonas Helfer
9e50968e89 Merge branch 'core-refactor' of github.com:apollostack/apollo-server into core-refactor 2016-06-24 17:12:04 -04:00
Jonas Helfer
8f950a8b70 basic working version of express [WIP] 2016-06-24 16:57:52 -04:00
Nick Nance
f6f25c611e Core refactor hapi (#36)
* Revert "get supertest working for TS"

This reverts commit 300b32fa5a.

* initial hapi plugin

* working hapi server

* update exports for es6 support
2016-06-18 10:19:51 -07:00
Nick Nance
4e9bf5cc61 update tsc build to use es5 2016-06-14 12:04:28 -07:00
Jonas Helfer
e1a5f261d4 add tests, fix broken validation 2016-06-13 16:20:21 -07:00
Jonas Helfer
d21fcd3ca6 add --harmony options to mocha for destructuring support 2016-06-13 15:31:14 -07:00
Jonas Helfer
a7c851854c change runQuery arg to object 2016-06-13 15:27:08 -07:00
James Baxley
04740ba5ca added tslint to the projects, adjusted the npm run scripts, and added coverage support 2016-06-10 20:48:21 -04:00
Jonas Helfer
d19f31331d initial attempt at core refactor with typescript 2016-06-10 17:05:39 -07:00