I’m using ember-cli for my app and I want to create a custom attribute. I create a custom transform now but it isn’t called.
What I do is following this page http://www.lswebapps.com/code-snippet/emberjs-how-to-create-custom-data-types-using-tranforms/ to create an ArrayTranform. I don’t call App.register() since I think ember-cli handles that. I debug and check that the transformed is registered by using WebApp.container.lookup(‘transform:array’). It’s not called since I add breakpoints to serialize() and deserialized() but neither is called. There’s data back from the server when I use store to find the model but the model is null.
Am I missing any dumb things? I don’t find many pages online about transform especially with ember-cli. Thanks.