79534218

Date: 2025-03-25 16:04:14
Score: 0.5
Natty:
Report link

Following up on the answer from Stefan, there is now an undocumented function in the serializer called valueForId that is used like this:

serializers: {
    application: RestSerializer.extend({
        valueForId(id) {
            return parseInt(id);
        },
    }),
},
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jeff S