Skip to content
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

Fix #3790 #3794

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Fix #3790 #3794

merged 1 commit into from
Sep 21, 2023

Conversation

weiznich
Copy link
Member

This commit fixes an issue in #[derive(Selectable)] that caused generating invalid rust code for structs with lifetimes (and type parameters). It improves the derive to handle type parameters and lifetimes correctly. In addition it also improves the derive to generate an error if we find a reference, as plain references are not supported as load target by diesel.

This commit fixes an issue in `#[derive(Selectable)]` that caused
generating invalid rust code for structs with lifetimes (and type
parameters). It improves the derive to handle type parameters and
lifetimes correctly. In addition it also improves the derive to generate
an error if we find a reference, as plain references are not supported
as load target by diesel.
@weiznich weiznich added this pull request to the merge queue Sep 21, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Sep 21, 2023
@weiznich weiznich added this pull request to the merge queue Sep 21, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Sep 21, 2023
@weiznich weiznich added this pull request to the merge queue Sep 21, 2023
@weiznich weiznich removed this pull request from the merge queue due to a manual request Sep 21, 2023
@weiznich weiznich merged commit 4480fbd into diesel-rs:master Sep 21, 2023
31 checks passed
weiznich added a commit to weiznich/diesel that referenced this pull request Sep 22, 2023
@weiznich weiznich mentioned this pull request Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant