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