Jeet Mehta
04/24/2022, 10:03 PMUser contains a 1-many link to Services . We import the User interface but it only has serviceId, so in our code user.service is generating a typescript error (even though the object is present in the data returned from the DB).
Sometimes we access objects several levels deep (i.e. user.service.booking), just wondering if there's a recommended approach for this.Nurul
04/25/2022, 10:18 AMJeet Mehta
04/25/2022, 12:04 PM