You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow operators requiring typed lists to be called with any-lists #31
It seems impossible to call operators (e.g. Ingredients.withItems(items)) requiring lists of a certain type from JS? They always result in a type error (invalid_list_value_type).
Potentially related to ID not supporting list type casting. (Temporary workaround: Use ID to concat an empty typed list with the target list to "cast" it. This has to be done in the game, as JS lists are always dynamically typed.)
changed the title [-]Impossible to call operators requiring typed lists?[/-][+]Allow operators requiring typed lists to be called with any-lists[/+]on Jan 10, 2025
Activity
rubensworks commentedon Jan 10, 2025
Someone will answer your question soon. In the meantime, you might be able to get help more quickly on our Discord server.
[-]Impossible to call operators requiring typed lists?[/-][+]Allow operators requiring typed lists to be called with any-lists[/+]rubensworks commentedon Jan 10, 2025
I've converted this into a feature request.