8thlight / ex_state Goto Github PK
View Code? Open in Web Editor NEWDatabase-backed state machines and statecharts for Elixir
License: MIT License
Database-backed state machines and statecharts for Elixir
License: MIT License
In my config.exs, I have added the following per the docs:
config :ex_state, repo: MyApp.Repo
When I try to do anything with ExState, it fails with:
** (ArgumentError) could not fetch application environment ExState for application :ex_state because configuration at ExState was not set
(elixir 1.10.2) lib/application.ex:653: Application.fetch_env!/2
(ex_state 0.2.0) lib/ex_state.ex:106: ExState.repo/0
(ex_state 0.2.0) lib/ex_state.ex:113: ExState.create/1
Trying out ex_state_ecto after reading your article. I added a workflow to an existing model. When I went to query it for the first time in iex, i got an error about workflow_id not being a column on the table. I added a migration to add this column to the subject table and it seems to be fixed. I didn't see this documented anywhere. The only odd thing I have done is I added my own migration to create the workflow and workflow_steps table with a regular ole integer primary key instead of UUID so I wouldn't have to mess with the postgres extension. Not sure how this would have affected thing in this way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.