sqlx icon indicating copy to clipboard operation
sqlx copied to clipboard

Generic Associated Types in Database, replacing HasValueRef, HasArguments, HasStatement

Open nitn3lav opened this issue 1 year ago • 1 comments

replaces the associated types from the generic traits HasValueRef<'r>, HasArguments<'q> and HasStatement<'q> with generic associated types in Database, as described in the (now removed) comment:

The upcoming Rust feature, [Generic Associated Types], should obviate the need for this trait.

This is obviously a breaking change. GATs have been stable since Rust 1.65

nitn3lav avatar Jan 07 '24 22:01 nitn3lav

This is a refactor I've been dreading having to do, I really appreciate it.

abonander avatar Jan 16 '24 22:01 abonander

@nitn3lav can you rebase and fix the conflict? We're ready to merge breaking changes now.

abonander avatar Mar 12 '24 07:03 abonander