Sometimes, assigning the value as it arrives is not enough. What if we want to apply a transformation before it gets assigned? Simple!
import { BuildableResource, Properties } from "tapi.js";
@Properties.Resource
class TestClass extends BuildableResource {
@Properties.Transform(incomingValue => {
return incomingValue.toUpperCase();
})
public needsToBeUppercase: string;
}