v0.3.0
core
- Subscriptions Support w/ onConnect hook #267
- Add
config
andname
field inModuleSessionInfo
- Better error handling for undefined service identifier
- Better error handling for context builder
- 🚀 BREAKING CHANGE! Able to use
Inject
in a property and useInjectFunction
for factory functions instead ofInject
@Injectable()
class SomeProvider {
@Inject(SomeOtherProvider)
someOtherProvider: SomeOtherProvider;
}
resolvers: InjectFunction(SomeProvider)(someProvider => ({
foo: () => someProvider.foo()
}))
- 🚀BREAKING CHANGE! Now
session
name is used for the network request object passed from GraphQL-Server to prevent confusion betweenrequest
andreq
ofexpress
. - 🚀BREAKING CHANGE!
CommunicationBridge
is now deprecated; you can usePubSub
implementations recommended by Apollo.- You can see the docs for details and changes in the API.