Replies: 1 comment 2 replies
-
I am also struggling with that, have you resolved it @woile? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, I'm trying to use the "type state pattern" with
query_as!
, but I cannot make it work. Has anyone had any success?My end goal would be to have the
create
method only for new users, and later I'd like to addupdate
for an existing.I get:
And I think I cannot implement PhantomData for
sqlx::Decode
because it's a foreign type 🤔Beta Was this translation helpful? Give feedback.
All reactions