Releases
2.7.0
mayuki
released this
05 Dec 10:14
Improvements
#231 : Add support for IServiceLocator / IServiceProvider Scope.
#232 : Create a filter instance via factory.
#233 : Add Extensions to create a broadcaster from IGroup.
Breaking changes
Remove Register
methods from IServiceLocator
.
IServiceLocator
is now provided for only resolving external types. MagicOnion doesn't register any service and types.
Change signature of IGroupRepositoryFactory
method
IGroupRepository CreateRepository(IServiceLocator serviceLocator);
-> IGroupRepository CreateRepository(IFormatterResolver formatterResolver, IMagicOnionLogger logger, IServiceLocator serviceLocator);
OpenTelemetryCollectorFilterAttribute
has been changed to IMagicOnionFilterFactory
implementation.
options.Service.GlobalFilters.Add<OpenTelemetryCollectorFilterAttribute>();
-> options.Service.GlobalFilters.Add(new OpenTelemetryCollectorFilterAttribute());
You can’t perform that action at this time.