In various examples in the controller guidelines, the state controller option was not optional, even though there is a guideline that says it should be. This commit updates the documentation so that it shown as optional. It also clarifies the examples to use real names instead of "dummy" names.
References
I discovered that the examples were incorrect when reviewing this PR.
Changelog
N/A
Checklist
[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate
[x] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes
Explanation
In various examples in the controller guidelines, the
state
controller option was not optional, even though there is a guideline that says it should be. This commit updates the documentation so that it shown as optional. It also clarifies the examples to use real names instead of "dummy" names.References
I discovered that the examples were incorrect when reviewing this PR.
Changelog
N/A
Checklist