Closed
Description
I think computed properties should support that you define a function that takes no arguments. So that it could be used to add a static value to all instances of that resource.
DS.defineResource({
name: 'user',
computed: {
someProp: [function () {
return propValue;
},
}
});
You could use the shorthand without the array, but then you get a warning that you should use the array method