0

I am trying to combine two SQLAlchemyConnectionField. The current error i face is graphql.error.base.GraphQLError: Expected value of type "PostsObject" but got: Tag My current connections are defined like so posts = SQLAlchemyConnectionField(PostsObject.connection, /* input arguments like posts(name: "") */) Is there a way to add another type or allow to return something like

"data": {
    "posts": {
      "edges": [
        {
          "node": "Different table"
        },
        {
          "node": "Other table"
        }]}},
        

I am using graphene_sqlalchemy well anyway thats all thanks !

Jonathan Coletti
  • 448
  • 4
  • 13

0 Answers0