diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4329fe2..4704b04 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: python-version: ${{ matrix.python-version }} - run: make check - run: uv run coverage xml - - uses: codecov/codecov-action@v6 + - uses: codecov/codecov-action@v7 with: use_oidc: true diff --git a/graphique/models.py b/graphique/models.py index 60ffeb2..ce71201 100644 --- a/graphique/models.py +++ b/graphique/models.py @@ -74,7 +74,7 @@ def register(cls, *scalars): # strawberry#1921: scalar python names are prepended to column name generic = issubclass(cls, Generic) for scalar in scalars: - cls.registry[scalar] = cls[scalar] if generic else cls + cls.registry[scalar] = cls[scalar] if generic else cls # type: ignore @strawberry.field(description=links.types) def type(self) -> str: