In lecture 17 of Mosh’s DRF course, Mosh provided a solution for adding an extra field by annotation
But,
I however, did the same thing using serializer method field technique
Both of the techniques yield similar sort of output.
Is there anything wrong with my implementation or am I following the wrong conventions.