Skip to content

Conversation

@dullbananas
Copy link
Collaborator

@dullbananas dullbananas commented Apr 9, 2024

Pipelining: https://docs.rs/diesel-async/latest/diesel_async/pg/struct.AsyncPgConnection.html

Some changes to statements are to prevent the execution order of pipelined statements from making a difference

convert_read_languages(conn, langs).await
}) as _
})
.await
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This transaction was added in #2510 and appears to be a mistake


let forms = lang_ids
.into_iter()
.iter()
Copy link
Member

@Nutomic Nutomic Apr 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like these changes break the tests, and anyway that was fine. The rest looks very good.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I now tried to fix the type mismatch error.

This change is needed to satisfy the borrow checker.

@dullbananas dullbananas marked this pull request as ready for review April 27, 2024 02:37
@dessalines dessalines merged commit d3737d4 into LemmyNet:main Apr 27, 2024
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.

4 participants