*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
-
Webstorm IDE cannot auto complete parameterized getter methods, e.g.
getModelById
below. It thinks the pararmeter isstate
.My current workaround is put certain getters in
actions
section, but it's not good, because methods inactions
section should only be methods that mutate state.I'm thinking if it will make more sense to introduce 2 sections
computed
andgetters
in 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