November 2018
Intermediate to advanced
346 pages
8h 12m
English
Our REST package is using the Person struct defined in the data package. On the surface, this makes some sense. Less code means less work to write and maintain that code; however, this means that the output format and the data format are tied to each other. Consider what happens if we start storing private information relating to the customer, such as a password or IP address. This information might be necessary for some functions, but it is very unlikely that it should need to be published via the Get or List endpoints.
There is another consideration that we should bear in mind. As the volume of data that is stored or the amount of usage grows, it might be necessary to change the format of ...
Read now
Unlock full access