Skip to content

Commit 4ee3d41

Browse files
committed
Fixed circular dependencies that cause errors due to dependencies
1 parent 2dd2233 commit 4ee3d41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gs/gs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ func (c *container) Configuration(i interface{}) *BeanDefinition {
284284
}
285285
}
286286

287-
// depends on parent bean
288-
bd.DependsOn(parentBean.ID()).On(cond.OnBean(parentBean.ID()))
287+
// Inherit the parent conditions
288+
bd.On(cond.OnBean(parentBean.ID()))
289289
}
290290

291291
return c.Accept(parentBean)

0 commit comments

Comments
 (0)