Branch: request_repository
I list all the changes I've made because it escalated as it wasn't viable to make some of the repository changes without modifying anything else.
Added:
Requests table (+ indexes)
IRequestRepository
FakeRequestRepository
RequestRepository
DB integration test for inserting into Request table
void AddRequest(string userID, Request request) function to IUserRepository (User can add Request to their account) and its implementations
Parameterless Request constructor (for convenience for creating fake data in fake repositories/ data seeding)
ContactInformation constructor taking a User instance
Changed:
DatabaseSeeding inserts data into Request table
Auth0Id column in Users table is explicitly marked as unique to work as a foreign key to Requests table, DB integration test for inserting into Users ensures it's inserting a User with a unique Auth0Id
User model now has a list of requests rather than a list of inquiries (+ necessary changes in User repositories)
Request class now has a ContactInformation Owner field
Branch: request_repository I list all the changes I've made because it escalated as it wasn't viable to make some of the repository changes without modifying anything else. Added:
Changed: