Avoid exhaustive switch case in API clients

  • If a state machine definition could be converted to SQL, does that mean the API client could remain stateless?

    The app controller just shuttles data between user and backend in that case. Processing gets crunched on the metal.