App Intents people: I have an intent that I’d like to take one of two things:

• Tuple of (enum, int)
OR
• An object that was created by a different of my intents

Is there any way to do this cleanly? It sure seems like this should do it, but it doesn’t:

@caseyliss might not do exactly what you want, but I do something like the following, otherwise it becomes impossible to build the conditional descriptions:

struct MyContainerEntity: AppEntity {
let id: MyContainerEnum
}

enum MyContainerEnum {
case media(MediaSearchResult)
case type(MediaTypeAppEnum)
}

struct GetMediaInfoIntent: AppIntent {
@Parameter(...)
var item: MyContainerEntity
}