Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upsave_changes is only available for types that implement Copy #886
Comments
This comment has been minimized.
|
|
sgrif
closed this
May 7, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
White-Oak commentedMay 6, 2017
As far as I can see,
save_changesis only available for types that implementCopy:T: Copy + AsChangeset<Target=T::Table> + IntoUpdateTarget. But for most models that would not be the case, sinceString, which is arguably one of the most common fields in models, does not implementCopy.Is it possible to ease the requirements for
SaveChangesDsl?