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

Supersedes #356

This is a followup of our discussion from July 18th about batching and sorting. I took a deeper dive into the batching feature and have a better understanding of it...

Draft TODO - [ ] Write Tests - [ ] Fix Tests & Evaluate if this feature is desirable

Howdy folks! The following code produces `TypeError: 'MyEnum' object is not iterable`, but should work. Note that this is also involves package `sqlalchemy_utils` ```py from enum import Enum class MyEnum(Enum):...

bug

I'm trying to use multiple SQL databases in a single GraphQL schema. Unfortunately I haven't figured out a good way to do this. I know I can use the `context`...

enhancement
help wanted

Not only ints should be converted to the ID type, but also strings. Especially as GraphQL itself considers IDs as strings. ```python @convert_sqlalchemy_type.register(types.String) @convert_sqlalchemy_type.register(types.SmallInteger) @convert_sqlalchemy_type.register(types.Integer) def convert_column_to_int_or_id(type, column, registry=None): return...

enhancement

I have some polymorphic models ``` class A(Base): name = Column() class B(A): for_b = Column() class C(A): for_c = Column() ``` I then made graphql object for them like...

enhancement

Add an example to the docs to get the total count of items on `SQLAlchemyConnectionField`s. Recipes presented in #58 could provide a great starting point.

enhancement
:book: documentation

There's no documentation on how to configure m2m relationships. DJango uses a special ManyToManyField type. Can anyone provide an example with Graphene-SQLAlchemy?

enhancement
:book: documentation

This issue will collect ToDos and blockers for this library's `3.0` release. While `graphene==3.0` is already fully supported by the current beta release `3.0.0b3`, future beta releases will introduce new...