Chris Gaudreau

Results 18 comments of Chris Gaudreau
trafficstars

Struct support would be very useful.

Well, I'm new to Elixir, so I imagine having a `User` struct, for example. But I suppose that structs are basically maps with a couple extra features, so there's no...

Oh, yeah, you're right about that apparently. In that case, I think a way to serialize to and from a struct would be a good idea. I'm still new to...

My understanding is that the stuff before `run` is typically part of a query sent to the database (?), so my initial inclination was to have the `as_struct` call after...

I see no reason not to have `Map.from_struct` called automatically, other than some potential initial confusion, but I doubt it's a big deal.

I think ignoring it makes the most sense. That's certainly what I'm used to in other languages, but Erlang/Elixir is definitely its own beast.

Does anybody have any insight to what might be causing this?

Oddly, if I change `TermView`'s `focus` method to this, it works: ``` coffeescript focus:(second_call = false) -> @resizeToPane() @focusTerm() if !second_call setTimeout (=> @focus(true)), 0 #super ```