Skip to content
Snippets Groups Projects
Closed Restriction of default-property's type of variables to boolean is not true
  • View options
  • Restriction of default-property's type of variables to boolean is not true

  • View options
  • Closed Issue created by namiko

    Linter says: Error: type error: property "default" should be of type bool. (in TeamLayer/teamplay, TeamLayer/teamplay, TeamLayer/teamplay)

    Thats not true, default can hold anything, even json-strings. Even workadventures documentation has a empty json-object as example https://workadventu.re/map-building/variables.md. Over that using jsons in default is tested by me with play.workadventure, works perfectly even when persisting the variable.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first