angular-first-look-examples
angular-first-look-examples copied to clipboard
Using the Filter Service with a Nested Array
Hey - first off thank you for this repo and the videos on pluralsight; both have been a tremendous help! I'm not sure if this where we can shoot you questions so forgive me if this is the wrong forum. So this a little outside the scope of your example, but I was wondering if you can help me expand your filter service to search through a nested json.
For instance take this scenario - Each character has one or more vehicles and our character table is slightly more complex with a nested ngFor to show the vehicles per character. How would you expand the filter service to also check the the vehicles array ?
This is the scenario I'm struggling with in my project at the moment and have been chasing my tail trying to figure it out haha. It's probably something simple but I can't seem to get it