ember-learn/super-rentals

Update Tutorial for "property-type"

Closed this issue · 3 comments

Please update the online tutorial for "property-type" instead of propertyType otherwise there is a serialization error.

vain6 commented

Edit: I think this actually broke some tests, so the search continues. /Edit

As a workaround, you can generate a serializer:

ember g serializer application

And then add these contents to the file:

import DS from 'ember-data';

export default DS.JSONAPISerializer.extend({
keyForAttribute(key) {
return key;
}
});

@vain6 You are Correct i added these lines my project now working fine. But its nice if Tutorial is edited for this correction

locks commented

This seems to already be updated in master of both the tutorial and this!