I have a lwc inside an aura component urlAddressable. The idea is to navigate to that lwc from a record page, and passing the record id and maybe other data via query paramaters in the url, for example:
And then, retrieve the id and other params and do several things depending on what is arriving. Is this possible? I read that using currentPageReference I can get the parameters but I don't know if it works for urlAddressable aura components, with a nested LWC.