Johnny Shields

Results 471 comments of Johnny Shields

Hmmm I'd be glad to share code, but in general I think I'll probably be moving away from AASM if it doesn't support this. Given the way I'm implementing code...

Yeah "internal-state triggers" as you call them are what I'm referring to... I would call them "state observers" or something, same thing.

Yeah that would make sense. There could also be a `:from =>`, and both `:from` and `:to` would take arrays as args. I think you'd also want to have a...

One additional consideration is that observers should have an option to be mutually exclusive with the bang (!) methods, e.g. if calling `run!` then don't fire observers.

It boggles the mind that Twilio would release this Regulatory docs requirement without proper API support. If it were optional I could understand, but at least in Japan I cant...

:+1: this would be useful

Will try it next time I'm releasing a gem. thanks

Something like this blog post would be useful: https://zackehh.com/using-mongodb-with-elixir-phoenix-and-ecto/