Fork me on GitHub
#luminus
<
2017-06-16
>
v3ga00:06:13

@yogthos so I noticed that it did seem to write to my database and i was continuing to try to create a record with the same id, after changing the input i now get a 500 error along with this https://gist.github.com/anonymous/381c6670c867820b8849783a8f903eb6

v3ga00:06:22

mount.core/start and it says the address is already in use…so i ran mount.core/stop several times then mount.core/start same issue

yogthos05:06:31

it looks like the *db* state is not being started before it is used

yogthos05:06:22

the states are started at runtime, and the namespace hierarchy is used to resolve the states

yogthos05:06:53

if you're already referencing the database namespace in a route, you might want to check that you don't have any code that attempts to access the database during compile time

v3ga05:06:50

@yogthos correct. I did figure out how to call mount.core/start …also that i’d added a few extra fields to my table and simply forgot. interestingly i looked at the database and records are being written. I am getting a new odd error, this should be all of the required fields, i’m not sure why it’s complaining about the arity. https://gist.github.com/anonymous/32d5fbbf142b4b3360771a44e241795b

yogthos12:06:16

the error there is still regarding the db-spec mount.core.DerefableState@17c1dbb7

yogthos12:06:32

if you're seeing that, it means that the state has not been initialized yet