Releases: strawberry-graphql/strawberry-sqlalchemy
Releases Β· strawberry-graphql/strawberry-sqlalchemy
π 0.5.0
Add an optional function to exclude relationships from relay pagination and use traditional strawberry lists.
Default behavior preserves original behavior for backwords compatibilty.
Releases contributed by @fruitymedley via #168
π 0.4.5
π 0.4.4
π 0.4.3
Fix an issue where auto generated connections were missing some expected
attributes to be properly instantiated.
Releases contributed by @bellini666 via #137
π 0.4.2
π 0.4.1
Fix a regression from 0.4.0 which was raising an issue
when trying to create a connection from the model's relationships.
Releases contributed by @bellini666 via #106
π 0.4.0
Initial relay connection/node support using Strawberry's relay integration.
Releases contributed by @bellini666 via #65
π 0.3.1
π 0.3.0
Adds support for async sessions. To use:
from sqlalchemy.ext.asyncio import async_sessionmaker, create_async_engine
from strawberry_sqlalchemy_mapper import StrawberrySQLAlchemyLoader
url = "postgresql://..."
engine = create_async_engine(url)
sessionmaker = async_sessionmaker(engine)
loader = StrawberrySQLAlchemyLoader(async_bind_factory=sessionmaker)