*Design Question* Auto code completion does not recognize parameterized getter methods #2575
Unanswered
stanleyxu2005
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Webstorm IDE cannot auto complete parameterized getter methods, e.g.
getModelByIdbelow. It thinks the pararmeter isstate.My current workaround is put certain getters in
actionssection, but it's not good, because methods inactionssection should only be methods that mutate state.I'm thinking if it will make more sense to introduce 2 sections
computedandgettersin future design. Normal getter methods with parameters would be groupped together and the state variable is inplicit passed tothis.Beta Was this translation helpful? Give feedback.
All reactions