$ qore -l ConnectionProvider -l DataProvider -nX 'cast<hash<ConnectionOptionInfo>>(<DataProviderOptionInfo>{"display_name": "x"}{"display_name", "short_desc",})'
unhandled QORE System exception thrown in TID 1 at 2023-10-24 20:21:17.534650 Tue +02:00 (CEST) at <command-line>:1 (Qore builtin code)
PARSE-EXCEPTION: hashdecl 'ConnectionOptionInfo' initializer value for key 'type' from hashdecl 'DataProviderOptionInfo' from cast<> operation has incompatible type 'softlist<object<AbstractDataProviderType>>'; expecting 'string'