Code interface struct argument

Is it possible to accept the resource struct as the code interface argument? Use case is I have an action that doesn't have any arguments and just toggles a value.
Solution:
then that's the default behaviour, unless I'm missing something in your question
Jump to solution
4 Replies
sevenseacat
sevenseacat2mo ago
so it'd be an update action that takes the resource as the first argument by default?
theron
theronOP2mo ago
Yes
Solution
sevenseacat
sevenseacat2mo ago
then that's the default behaviour, unless I'm missing something in your question
theron
theronOP2mo ago
got it

Did you find this page helpful?