mirumee / ariadne-graphql-modules

Ariadne package for implementing Ariadne GraphQL schemas using modular approach.
https://ariadnegraphql.org
BSD 3-Clause "New" or "Revised" License
36 stars 4 forks source link

Introduce CollectionType #4

Closed rafalp closed 2 years ago

rafalp commented 2 years ago

CollectionType would be a container for other types:

class ThreadMutations(CollectionType):
    __types__ = [
        ThreadCreate,
        ThreadTitleUpdate,
        ThreadCategoryUpdate,
        ThreadClose,
        ThreadOpen,
        ThreadHide,
        ThreadUnhide,
        ThreadDelete.
    ]
rafalp commented 2 years ago

Fixed on master