Skip to content

Conversation

abonander
Copy link
Collaborator

@abonander abonander commented Jul 20, 2020

Also tries to address supernumerary references in parameters, although it's probably not possible to fix the situation entirely (e.g. we'd need additional impls of MatchBorrowExt for MatchBorrow<&&T, T>, MatchBorrow<&&&T, T>, etc).

Breaking change: query_as!() and friends will no longer tolerate the difference between T and Option<T> in output structs; explicit overrides in the SQL must be used instead.

fixes #546

TODO:

  • investigate all errors (for Postgres)
  • fix tests for MySQL
  • fix tests for SQLite
  • adjust documentation
@abonander abonander added this to the 0.4 milestone Jul 20, 2020
@abonander abonander force-pushed the ab/macro-refresh branch 2 times, most recently from bbbe649 to 10d0b4f Compare July 21, 2020 05:21
@abonander abonander force-pushed the ab/macro-refresh branch 2 times, most recently from 198f89d to c7fa4e6 Compare July 22, 2020 05:38
Signed-off-by: Austin Bonander <austin@launchbadge.com>
@abonander abonander changed the title (BREAKING) WIP remove ResultExt and macro_result!() (BREAKING) remove ResultExt and macro_result!() Jul 22, 2020
@abonander abonander marked this pull request as ready for review July 22, 2020 05:41
for arguments Signed-off-by: Austin Bonander <austin@launchbadge.com>
Signed-off-by: Austin Bonander <austin@launchbadge.com>
@mehcode mehcode merged commit 86d41f1 into master Jul 27, 2020
@mehcode mehcode deleted the ab/macro-refresh branch July 27, 2020 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants