Fix an issue where auto generated connections were missing some expected attributes to be properly instantiated.
Contributed by Thiago Bellini Ribeiro via PR #137
This change implements a new custom scalar BigInt
that is mapped to SQLAlchemy's BigInteger
.
Contributed by IdoKendo via PR #101
Fix a regression from 0.4.0 which was raising an issue when trying to create a connection from the model's relationships.
Contributed by Thiago Bellini Ribeiro via PR #106
Initial relay connection/node support using Strawberry's relay integration.
Contributed by Thiago Bellini Ribeiro via PR #65
Make sure async session is still open when we call .all()
Contributed by mattalbr via PR #55
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)
Contributed by mattalbr via PR #53
Fix typo in pyproject.toml for poetry build.
Contributed by Dan Sully via PR #52
Native SQLAlchemy JSON Conversion Support. Added native support for SQLAlchemy JSON conversions. Now, you'll find that sqlalchemy.JSON
is converted to strawberry.scalars.JSON
for enhanced compatibility.
Contributed by Luis Gustavo via PR #40
Makes a series of minor changes to fix lint errors between MyPy and Ruff.
Contributed by mattalbr via PR #38
Fixes a bug where an Interface is not properly registered, resulting in an infinite-loop for mapping Interfaces to polymorphic Models.
Contributed by Layton Wedgeworth via PR #24
Dependency version changes needed for python 3.12 compatibility.