edgedb-js icon indicating copy to clipboard operation
edgedb-js copied to clipboard

Ability to create stateless clients

Open colinhacks opened this issue 3 years ago • 1 comments

Describe the proposed feature A clear and concise description of the syntax, what you want to happen, and why it's needed.

Add the ability to create fully stateless clients that lack the ability to perform transactions. These stateless clients provide a safe way to execute queries in any environment, including edge or browser environments that don't support the binary protocol.

createClient().stateless()
// or 
createClient().withoutTransactions()

colinhacks avatar Jul 13 '22 18:07 colinhacks

This would be great!

jhwz avatar Aug 02 '22 09:08 jhwz