The constructor for `Entity` no longer called `from_dict` as it can lead to unexpected results that may confuse users, and broke some projects that depended on the old functionality. In addition, the `set` method also no longer calls `from_dict` either, for the same reasons.
The constructor for `Entity` no longer called `from_dict` as it can lead to unexpected results that may confuse users, and broke some projects that depended on the old functionality. In addition, the `set` method also no longer calls `from_dict` either, for the same reasons.

Now, `to_dict` and `from_dict` are fairly isolated and are only used when explicitly requested.

Note: `Entity.__init__` does not just pass through to `Entity.set` because the additional copy of the keyword arguments triggered by the `**kwargs` in the call caused problems in my testing.

gjhiggins/elixir