Diesel: [Feature Request] #[serialize_as] for Insertable, like #[deserialize_as] for Queryable

Created on 31 Mar 2020  路  4Comments  路  Source: diesel-rs/diesel

1852 added #[deserialize_as] for Queryable and QueryableByName, which I found to be very useful. It is stated in that PR that it was intended to follow that PR with an equivalent #[serialize_as] attribute for Insertable and AsChangeset. I was looking for it and I'd find it really helpful. Is that still on the roadmap?

Thanks!

Checklist

  • [X] I have already looked over the issue tracker for similar issues.
help wanted

All 4 comments

It is still on the roadmap in terms of we would accept a PR implementing this feature. As far as I know none of the regular contributors is currently working on this.

That's great! unfortunately I don't have the bandwidth to understand diesel internals + implement it right now

If I were to give this a shot, would I target current master or the 1.4 branch?

@thomaseizinger New features should always target the master branch.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jimmycuadra picture jimmycuadra  路  3Comments

orionz picture orionz  路  3Comments

jimmycuadra picture jimmycuadra  路  4Comments

kanekv picture kanekv  路  3Comments

pjenvey picture pjenvey  路  4Comments