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
Is your feature request related to a problem? Please describe.
I was a bit surprised to find out, that it is only possible to return string values from the computed data property. I expected the new feature to apply the magic string substitution only to string values and to leave other data types alone. Here a short example what I tried to do:
Describe the solution you'd like
It would be great, if I could return any data type from the computed data functions not only string value. I could think of other use cases, where this might be helpful:
Describe alternatives you've considered
In my example it would be easy to move the condition into the permalink function directly, but then the boolean would not be available within the template files.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I was a bit surprised to find out, that it is only possible to return string values from the computed data property. I expected the new feature to apply the magic string substitution only to string values and to leave other data types alone. Here a short example what I tried to do:
Describe the solution you'd like
It would be great, if I could return any data type from the computed data functions not only string value. I could think of other use cases, where this might be helpful:
Describe alternatives you've considered
In my example it would be easy to move the condition into the permalink function directly, but then the boolean would not be available within the template files.
The text was updated successfully, but these errors were encountered: