When a new user is POSTed to the MCI, it is possible that they may have a partial mailing address or no mailing address at all (in which case they may receive a request with null values in the various fields of the mailing address). This fix alters the logic for creating a new address by respecting the fact that not all fields will be available.
Checklists
Basic
[X] Text is not written in first person singular point of view. Text is written from a collective "we" or "Engineering Team".
[X] Did you document your changes in the README and/or in docstrings (as needed)?
Notes for the Reviewer
A precise explanation of what the PR reviewer needs to evaluate. This might be:
a low-level review of certain items
a high-level assessment of strategy or architecture
Description
When a new user is POSTed to the MCI, it is possible that they may have a partial mailing address or no mailing address at all (in which case they may receive a request with
null
values in the various fields of the mailing address). This fix alters the logic for creating a new address by respecting the fact that not all fields will be available.Checklists
Basic
Notes for the Reviewer
A precise explanation of what the PR reviewer needs to evaluate. This might be: