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
I've noticed two of the TMVCController class methods include AContext as a parameter.
procedure OnBeforeAction(AContext: TWebContext; const AActionName: string; var AHandled: Boolean); virtual;
procedure OnAfterAction(AContext: TWebContext; const AActionName: string); virtual;
Given that Context is available as a class property - is this now redundant ?
If it is, will removing this be too much of a breaking change ?
(originally created as part of #514 now split into separate issue)
The text was updated successfully, but these errors were encountered:
Yes the AContext param will be removed in 4.0.0-oxygen. It will break all the action filter methods, but a bit of cleaning is OK for a major version upgrade.
I've noticed two of the TMVCController class methods include AContext as a parameter.
procedure OnBeforeAction(AContext: TWebContext; const AActionName: string; var AHandled: Boolean); virtual;
procedure OnAfterAction(AContext: TWebContext; const AActionName: string); virtual;
Given that Context is available as a class property - is this now redundant ?
If it is, will removing this be too much of a breaking change ?
(originally created as part of #514 now split into separate issue)
The text was updated successfully, but these errors were encountered: