Closed Jakeii closed 8 years ago
If anyone would like to chip in on this see this page on defining models for help https://guides.emberjs.com/v2.2.0/models/defining-models/
Quick question: does photo
need to be a special data type, or is it just a string that will be used to construct a url?
To put it another way: is each of the properties described here either a DS.attrib()
with no special transform, an Ember.computed(), or a DS.hasMany()
, or are there more complicated ones?
I'm working on the user one as part of the login work I'm doing. Photo would just be regular attr (base64 encoded image). Any relations will be has many or has one etc
These needs to be created with their relations and attributes