UdL-EPS-SoftArch / TextAnnot-API

Written Corpus Annotation tool
GNU General Public License v3.0
1 stars 4 forks source link

Refactoring: remove OneToMany relationships #50

Closed rogargon closed 5 years ago

rogargon commented 6 years ago

Enhancement of the repository code, focusing on the entities already available at the beginning of the course (Sample, MetadataTemplate, MetadataField, MetadataValue, User, Admin, Linguist,...) to remove the OneToMany side of the relationships.

Tests should continue passing so this implies also looking for all uses of the relationships removed and replacing them with uses of the corresponding findBy... repository method (which should be available through the API) that implements the same behavior. For instance, listing all the MetadataFields of a MetadataTemplate