Hi,
Why is ember serializing foreign key id as string in JSON?
model:
cityId: DS.belongsTo(‘city’, {async: true}), //serialize to JSON as string
cityId: DS.attr(‘number’), //serialize to JSON as number
Please help
Hi,
Why is ember serializing foreign key id as string in JSON?
model:
cityId: DS.belongsTo(‘city’, {async: true}), //serialize to JSON as string
cityId: DS.attr(‘number’), //serialize to JSON as number
Please help