Skip to content

On top of my head / Minor issues #7

@devanshj

Description

@devanshj
  • txstate right now assumes the machine definition is a literal, in case it's not like initial: Math.random() > 0.5 > "a" : "b" thing most probably will malfunction, so gotta do something about that
  • Make all custom error use A.CustomError
  • Transitions...
    • Support [{ target: "x" }, "y"] Edit: Ugh isn't this already supported? TODO: check
    • Disallow stupid stuff like
      • { target: [] }
      • [{ target: "a" /* no guard */ }, { target: "b" }]
      • internal: true for strictly external transitions
      • more...
  • When an required property is missing the errors are horrible, try showing custom errors for those cases too
  • Guarded recursion. Sometimes in an errored machine the recursion becomes infinite to prevent that we'll recurse with a fixed limit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions