Carlos I. Garcia

Results 16 comments of Carlos I. Garcia

This is the real thing: ```javascript import resourceLibrary from './library' class Car extends resourceLibrary.Base { static define() { this.attributes('year', 'prices') this.belongsTo('engine') this.belongsTo('make') this.belongsTo('model') } } export default resourceLibrary.createResource(Car); ``` As...

@nicklandgrebe my example didn't match the real-world definition of the resource itself. My bad. In the real example `prices` is the JSONB field. And as you can see it was...

@nicklandgrebe I'll test it out either today or tomorrow and get back to you. 👍

Finally had a chance to test this out. if I call: ```javascript car.assignAttributes({ prices: update, }) ``` I get: ![image](https://user-images.githubusercontent.com/14896457/54174830-17dce080-444e-11e9-9622-c68628dd8c21.png)