Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: initial relay integration support #65

Merged
merged 10 commits into from
Dec 6, 2023
3 changes: 3 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Release type: minor

Initial relay connection/node support using Strawberry's relay integration.
19 changes: 18 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ sqlalchemy = {extras = ["asyncio"], version = ">=1.4"}
strawberry-graphql = ">=0.95"
sentinel = ">=0.3,<1.1"
greenlet = {version = ">=3.0.0rc1", python = ">=3.12"}
sqlakeyset = "^2.0.1695177552"

[tool.poetry.group.dev.dependencies]
asyncpg = ">=0.28,<0.30"
Expand Down Expand Up @@ -251,6 +252,7 @@ src = ["src/strawberry_sqlalchemy_mapper", "tests"]

[tool.ruff.per-file-ignores]
"tests/*" = ["RSE102", "SLF001", "TCH001", "TCH002", "TCH003", "ANN001", "ANN201", "PLW0603", "PLC1901", "S603", "S607", "B018"]
"src/strawberry_sqlalchemy_mapper/field.py" = ["TCH001", "TCH002", "TCH003"]

[tool.ruff.isort]
known-first-party = ["strawberry-sqlalchemy-mapper"]
Expand Down
10 changes: 9 additions & 1 deletion src/strawberry_sqlalchemy_mapper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@
del version, PackageNotFoundError


from .field import connection, field, node
from .loader import StrawberrySQLAlchemyLoader
from .mapper import StrawberrySQLAlchemyMapper

__all__ = ["__version__", "StrawberrySQLAlchemyLoader", "StrawberrySQLAlchemyMapper"]
__all__ = [
"__version__",
"StrawberrySQLAlchemyLoader",
"StrawberrySQLAlchemyMapper",
"field",
"node",
"connection",
]
Loading
Loading