When trying to create a user when retrieving existing streetcodes that should be referenced by the created partner, we received an error due to the EF Core not correctly tracking the states of the received entities.
Summary of change
Now, EF Core tracks status correctly and no unexpected errors occur when creating a partner.
CHECK LIST
[ ] СI passed
[ ] Сode coverage >=95%
[ ] PR is reviewed manually again (to make sure you have 100% ready code)
[ ] All reviewers agreed to merge the PR
[ ] I've checked new feature as logged in and logged out user if needed
Ticket
Code reviewers
Summary of issue
Summary of change
CHECK LIST