[Question] context param can be modified?
JuanOrjuelaA opened this issue · 2 comments
JuanOrjuelaA commented
Hello guys
Is there a way to modify the info from the context param?
I have a list in the context, and I want to remove some items from that list to be displayed in my template.
oformaniuk commented
Hello @JuanOrjuelaA
You can access context value inside the helper using context.Value
. You'd still need to cast it to a correct type though.
JuanOrjuelaA commented
Awesome, thanks!