Skip to content

Allow operators requiring typed lists to be called with any-lists #31

@shBLOCK

Description

@shBLOCK

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Accepted (To Do)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions