Anyone manage to get custom enum parameters to work with AppIntents and widgets? Whenever I try to pass a value in, it seems it wants a generic “IntentParameter" instead of the actual value, which seems contrary to the WWDC videos just passing values. Am I doing something silly?

So apparently you just need to add manual constructors yourself for each parameter for some reason, wish the videos had sample code or mentioned that >_<

Thanks to @chockenberry for the tip plus some sample code:
https://github.com/chockenberry/Intentional/blob/main/Intentional/Shared/AppIntents.swift

Intentional/Intentional/Shared/AppIntents.swift at main · chockenberry/Intentional

A sample project for a more complex interactive iOS widget - chockenberry/Intentional

GitHub
@christianselig @chockenberry Do you mean a constructor that takes in each parameter, or a constructor for each of them?
@jordanmorgan @christianselig It's the init() for the AppIntent and can has as many parameters as you want (but you probably don't want anything more than an identifier to do a model lookup).