COVID19-PIRAT / backend

GNU General Public License v3.0
2 stars 1 forks source link

Remove postalcode field of resources 127 #131

Closed MaxWies closed 4 years ago

MaxWies commented 4 years ago

Address is only part of resources (in api folder) if part of query.

Enities have no address id anymore. If testing with real developer database then the ids must be removed.

In queries for resources the address of the provider is taken for distance computation.

In the response of queries address is set to null when it will be sent from the BE to the FE.

Inputvalidator checks only address existence for queries.

Revised equal and tostring function of Item.cs and Personal.cs because of null possibility of address.

Tests needed some changes. Revised Generator classes.