Skip to content

Commit

Permalink
Pass user context to onMismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
gnawf committed Dec 2, 2024
1 parent 6bd6d50 commit a976b01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class NadelServiceTypeFilterTransform : NadelTransform<State> {

if (newDecision != null && oldDecision != newDecision) {
executionContext.hints.serviceTypenameShadowing.onMismatch(
executionContext.userContext,
oldDecision,
newDecision,
service,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ interface NadelServiceTypenameShadowingHint {
fun isShadowingEnabled(): Boolean

fun onMismatch(
userContext: Any?,
oldDecision: Boolean,
newDecision: Boolean,
service: Service,
Expand All @@ -21,6 +22,7 @@ interface NadelServiceTypenameShadowingHint {
}

override fun onMismatch(
userContext: Any?,
oldDecision: Boolean,
newDecision: Boolean,
service: Service,
Expand Down

0 comments on commit a976b01

Please sign in to comment.