mirror of
https://github.com/kataras/iris.git
synced 2026-01-24 20:35:59 +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:
@@ -1,4 +1,4 @@
|
||||
# MVC Engine's Internals
|
||||
# MVC Internals
|
||||
|
||||
* `MakeHandler` - accepts a function which accepts any input and outputs any result, and any optional values that will be used as binders, if needed they will be converted in order to be faster at serve-time. Returns a `context/iris#Handler` and a non-nil error if passed function cannot be wrapped to a raw `context/iris#Handler`
|
||||
* Struct fields with `Struct Binding`
|
||||
|
||||
Reference in New Issue
Block a user