- 
                Notifications
    
You must be signed in to change notification settings  - Fork 820
 
Closed
Description
Combining query classes works but combining mutation classes does not appear to work.
Based on @yfilali's comment on #408 -
class Query(App1Query, App2Query, graphene.ObjectType):
    pass
class Mutations(App1Mutations, App2Mutations, graphene.ObjectType):
    pass
schema = graphene.Schema(query=Query, mutation=Mutations)
Server responds with:
Mutations fields must be a mapping (dict / OrderedDict) with field names as keys or a function which returns such a mapping.
Both
schema = graphene.Schema(query=Query, mutation=App1Mutations)
and
schema = graphene.Schema(query=Query, mutation=App2Mutations)
work as expected.
Note: I am not trying to nest the mutations.
Metadata
Metadata
Assignees
Labels
No labels