Starting from 2.8.0, the Compose Navigation library now allows serializable classes to be used as destinations. So, to allow, for example, an instance of PlatformAdvertisement to be used as a navigation argument, it would have to be marked with @serializable.
Originally posted by @leonardovallem in #788