You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's now possible to add things like authorisation policies using the same way as one would do it with minimal API, when using MapCommand<T1, T2, TAggtegate> or MapCommand<T, TAggregate>. But when one uses MapAggregateCommands<TAggtegate> and chains MapCommand, the function returns the command route builder, so the endpoint cannot be configured additionally.
It can be solved by adding a configuration function (optional) to add the necessary additions to a given mapped endpoint.
alexeyzimarev
changed the title
[EVE-39] Expose endpoint configuration for command mapping
[EVE-41] [EVE-39] Expose endpoint configuration for command mapping
Mar 8, 2023
alexeyzimarev
changed the title
[EVE-41] [EVE-39] Expose endpoint configuration for command mapping
[EVE-39] Expose endpoint configuration for command mapping
Mar 8, 2023
It's now possible to add things like authorisation policies using the same way as one would do it with minimal API, when using
MapCommand<T1, T2, TAggtegate>
orMapCommand<T, TAggregate>
. But when one usesMapAggregateCommands<TAggtegate>
and chainsMapCommand
, the function returns the command route builder, so the endpoint cannot be configured additionally.It can be solved by adding a configuration function (optional) to add the necessary additions to a given mapped endpoint.
From SyncLinear.com | EVE-39
The text was updated successfully, but these errors were encountered: