Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-export out GraphQLOptions in apollo-server-express #871

Merged
merged 6 commits into from
Mar 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* Fix apollo-server-core runQuery breaks `async_hooks` tracking [PR #733](https://github.com/apollographql/apollo-server/pull/733)
* Optimize one-time functions [PR# 821](https://github.com/apollographql/apollo-server/pull/821)
* The `GraphQLOptions` type is now exported from `apollo-server-express` in order to facilitate type checking when utilizing `graphqlExpress`, `graphiqlExpress`, `graphqlConnect` or `graphiqlConnect`. [PR #871](https://github.com/apollographql/apollo-server/pull/871)

### v1.3.2

Expand Down
5 changes: 5 additions & 0 deletions packages/apollo-server-express/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Expose types which can be used by both middleware flavors.
export { GraphQLOptions } from 'apollo-server-core';

// Express Middleware
export {
ExpressGraphQLOptionsFunction,
ExpressHandler,
Expand All @@ -6,4 +10,5 @@ export {
graphiqlExpress,
} from './expressApollo';

// Connect Middleware
export { graphqlConnect, graphiqlConnect } from './connectApollo';