Perform backend schema instrospection inside a transaction
@@ -71,6 +71,7 @@ class IntrospectionMech:
if schema is None:
schema = so.Schema()
+ async with self.connection.transaction():
schema = await self.read_modules(
schema, only_modules=modules, exclude_modules=exclude_modules)
schema = await self.read_scalars(
