hi there, can anyone help me figuring out what cou...
# prisma-whats-new
s
hi there, can anyone help me figuring out what could be a good flow for anonymous to logged user? Initially, I was thinking about a
type AnonymousUser
but I can't imagine a way to create relations with models requiring a
User
relation type. Furthermore how should I get the anonymous user if it does not exist yet? I imagine a general query like
query currentUser()
to retrieve current but I'm not sure wether it's okay to create a mutation inside a query (I imagine it's not).