New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert Embedded Struct #1599

Closed
weiwei-lin opened this Issue Mar 25, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@weiwei-lin

weiwei-lin commented Mar 25, 2018

Since #[derive(Insertable)] does not support #[diesel(embed)] yet, is there any way to support inserting embedded struct (possibly through hand writing impl Insertable)?

@sgrif

This comment has been minimized.

Member

sgrif commented Mar 26, 2018

Diesel's master branch supports #[diesel(embed)] on #[derive(Insertable)]

@sgrif sgrif closed this Mar 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment