-
nicolasdular authored
Using the result from `build_from_database` and passing it to the `attributes` from init_with` was not sufficent to decode enums correctly. Since `init_with` is guaranteed to work with `encode_with`, this MR uses now `encode_with` instead to fix the encoding issue.
50dd6fbf