You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed on #34, the idea of having a getOptions method came up, in the same line than #27 for getAttributes and getProps. This would be an abstraction to access the wrapper.vm.$options internal variable. One of the use cases is to test property validation specs, but there might be others.
My feelings on this is that we shouldn't add too many aliases. I don't think this a common use case, like props or attributes, and it's not much more code to access the $options object on the vm:
As discussed on #34, the idea of having a
getOptions
method came up, in the same line than #27 forgetAttributes
andgetProps
. This would be an abstraction to access thewrapper.vm.$options
internal variable. One of the use cases is to test property validation specs, but there might be others.What notation to use?
.options()
,attributes()
,props()
....getOptions()
,getAttributes()
,getProps()
...Let's discuss it
The text was updated successfully, but these errors were encountered: