-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow operators requiring typed lists to be called with any-lists #31
Labels
Comments
Someone will answer your question soon. In the meantime, you might be able to get help more quickly on our Discord server. |
rubensworks
changed the title
Impossible to call operators requiring typed lists?
Allow operators requiring typed lists to be called with any-lists
Jan 10, 2025
I've converted this into a feature request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue type:
Question:
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.)
The text was updated successfully, but these errors were encountered: