Fix encoding issue with enums
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.
Showing
Please register or sign in to comment