TheWaterBugCompany / WALTA

Waterbug ALT App - Identify freshwater bug species and contribute to ecosystem health monitoring
0 stars 1 forks source link

Refactoring: decouple CERDI api better from taxon model #88

Open TheCodeSharman opened 3 years ago

TheCodeSharman commented 3 years ago

Current we serialize to and from a JSON structure labelled CerdiJson but currently extra fields are being created in this structure. These are not really part of the Cerdi API. To keep the two worlds seperate from each other the method that creates a duplicate taxon should not use the serialize to cerdi json method and this method should be moved inthe CerdiApi object.