mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
don't create new controller instance when all fields are set-ed by the end-dev - but we keep show those fields' values as Dependencies on the BeforeActivate in order to the future custom controllers authors to be able to check if something is added as dependecy or even manually set-ed before bind their own dependecies, otherwise they could override the manually set-ing
Former-commit-id: 72d3a0f1299781ee9a5e3e35e4a543354f8cd63d
This commit is contained in:
@@ -15,9 +15,8 @@ type (
|
||||
elemType reflect.Type
|
||||
//
|
||||
fields []*targetStructField
|
||||
Valid bool // is True when contains fields and it's a valid target struct.
|
||||
|
||||
trace string // for debug info.
|
||||
Valid bool // is true when contains fields and it's a valid target struct.
|
||||
trace string // for debug info.
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user