Announcing Ariadne GraphQL Modules #841
Replies: 3 comments 6 replies
-
would it be possible to combine this somehow to loading schemas from path? |
Beta Was this translation helpful? Give feedback.
-
Just tried it out for the first time, but I'm getting from ariadne_graphql_modules import ObjectType, gql, InputType, EnumType, DeferredType, convert_case from ariadne_graphql_modules import ObjectType, gql, InputType, EnumType, DeferredType, convert_case
class Query(ObjectType):
__schema__ = gql(
'''
type Query {
appointmentAvailabilitySet(slots: [AppointmentSlotInput!]!): [AppointmentSlot!]!
}
'''
)
__requires__ = [AppointmentSlotType, AppointmentSlotInputType]
__aliases__ = convert_case
@staticmethod
def resolve_appointment_availability_set(*_, slots):
print(slots)
pass Passing it to |
Beta Was this translation helpful? Give feedback.
-
@bartenra starting with Ariadne GraphQL Modules 0.7 it's https://github.com/mirumee/ariadne-graphql-modules/blob/main/MOVING.md |
Beta Was this translation helpful? Give feedback.
-
I am happy to announce that Ariadne GraphQL Modules library has just been released 🎉
This library provides new way to define your GraphQL schema and organize your python code:
Please see README for examples and REFERENCE for early documentation.
Remember that that this is first general release of Ariadne GraphQL Modules. We are pretty sure breaking changes will happen but we feel that library is complete enough to let you build complete GraphQL schema and we'll love to hear what you think about it and what would you like to see in future releases :)
Beta Was this translation helpful? Give feedback.
All reactions