File tree Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
+ 0.3.0 - 2023-09-26
5
+ ------------------
6
+
7
+ Adds support for async sessions. To use:
8
+
9
+ ``` python
10
+ from sqlalchemy.ext.asyncio import async_sessionmaker, create_async_engine
11
+ from strawberry_sqlalchemy_mapper import StrawberrySQLAlchemyLoader
12
+
13
+ url = " postgresql://..."
14
+ engine = create_async_engine(url)
15
+ sessionmaker = async_sessionmaker(engine)
16
+
17
+ loader = StrawberrySQLAlchemyLoader(async_bind_factory = sessionmaker)
18
+ ```
19
+
20
+ Contributed by [ mattalbr] ( https://github.com/mattalbr ) via [ PR #53 ] ( https://github.com/strawberry-graphql/strawberry-sqlalchemy/pull/53/ )
21
+
22
+
4
23
0.2.1 - 2023-09-21
5
24
------------------
6
25
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " strawberry-sqlalchemy-mapper"
3
3
packages = [ { include = " strawberry_sqlalchemy_mapper" , from = " src" } ]
4
- version = " 0.2.1 "
4
+ version = " 0.3.0 "
5
5
description = " A library for autogenerating Strawberry GraphQL types from SQLAlchemy models."
6
6
authors = [
" Tim Dumol <[email protected] >" ]
7
7
license = " MIT"
You can’t perform that action at this time.
0 commit comments