graphene-sqlalchemy icon indicating copy to clipboard operation
graphene-sqlalchemy copied to clipboard

Graphene SQLAlchemy integration

Results 95 graphene-sqlalchemy issues
Sort by recently updated
recently updated
newest added

This issue is related with three packages: `graphql-core`, `graphene` and `graphene-sqlalchemy`. Actually there are 2 separated problems related with the Enum type: 1. In `convert_column_to_enum`, the returned value should be...

Hello, I need to be able to convert a postgres TSTZRANGE into a GraphQL type. I noticed that the graphene-django project does support the postgres range type.s Just curious if...

Add two filter tests covering RelationshipFilter exceptions and remove unnecessary code and comments relating to filtering and enums.

I'm trying to get batching set up on a 1:N relationship. Suppose a `Foo` has many `Bar`s ```python class FooObject(SQLAlchemyObjectType): class Meta: model = Foo interfaces = (graphene.relay.Node,) bars =...

When using SQLAlchemyConnectionField with a SQLAlchemyInterface to get a polymorphic connection, one has to set the sort argument to None to disable automatic sort enum generation. However, the type check...

dependencies: ``` python 3.10.7 sqlalchemy==1.4.48 graphene==3.2.2 graphene-sqlalchemy==v3.0.0b4 graphql-server[flask]==v3.0.0b6 ``` I am upgrading from `graphene==2.1.9` and `graphene-sqlalchemy==2.3.0` where these hybrid properties worked. simplified example: ```python # myproject/routes/graphql_view.py from myproject.schema import schema...

``` class BusinessPriority(client.Model): metric_views: List['MetricView'] = orm.relationship('MetricView', secondary='business_priority_metrics_link') class MetricView(client.Model): """Data around metric view for Ops Insight""" __tablename__ = 'metric_view' row_id: Union[Column, int] = Column(name='id', type_=BigInteger, primary_key=True, autoincrement=True) ``` I...

fixes #102 by giving users the choice to either convert all Key Columns to `graphene.ID` or leave all key columns as is.

It would be great if `SQLAlchemyObjectType` allowed to configure a `default_value` of a `#sort_argument` method result. ```python def sort_argument_for_object_type( # ... return Argument(List(enum), default_value=enum.default) ``` Right now there is no...

enhancement

The requirements should be updated so that Flask-GraphQL==2.3.0 is used, elsewhise pip will install Flask-GraphQL>=3 and this will lead to an import error in graphql-server, because get_default_backend is not defined...