karwing13 / techcreate-technical

0 stars 0 forks source link

Class structure #1

Open orangepaydev opened 11 months ago

orangepaydev commented 11 months ago

At the moment you have everything in a single class. There should be split into individual components

  1. Component to read the Schema
  2. Component that will generate the Value Class
  3. Component that will generate the Deserializer class

If you have them in individual layers, then it will be possible to write Unit Test against each component.

karwing13 commented 11 months ago

Split into individual components with their own unit tests. https://github.com/karwing13/techcreate-technical/commit/31d0494fe57ad785413384c7aa1441b97531ed4d