Ariadne package for implementing Ariadne GraphQL schemas using modular approach.
BSD-3-CLAUSE License
Bot releases are visible (Hide)
Published by DamianCzajkowski about 1 month ago
Dropped Support for Python 3.8: This release no longer supports Python 3.8. Please upgrade to Python 3.9 or newer.
Deprecation Notice: Direct use of v1 types is deprecated. Transition to the new system or use wrap_legacy_types for continued support.
Updated Ariadne Version: The supported version of Ariadne is now 0.23.
API v1 Moved: The old API has been moved to the v1 folder. If you are using ariadne-graphql-modules, update your imports to reference v1.
Major API Redesign: The entire API has been restructured for better modularity and flexibility.
New Type System: Introduced a new type system, replacing the old v1 types.
Migration Support: Added wrap_legacy_types to help transition from v1 types to the new system without a complete rewrite.
Enhanced make_executable_schema: Now supports both legacy and new types with improved validation and root type merging.
Published by rafalp 8 months ago
Published by rafalp about 2 years ago
make_executable_schema
.Published by rafalp about 2 years ago
make_executable_schema
.Published by rafalp about 2 years ago
__args__ = convert_case
for MutationType
.convert_case
to be less magic in its behavior.Published by rafalp over 2 years ago
ObjectType.__fields_args__
Published by rafalp over 2 years ago
BaseType
into DefinitionType
and BindableType
.CollectionType
utility type for gathering types into single type.Published by rafalp over 2 years ago
Float
scalar type.Published by rafalp over 2 years ago
First release of Ariadne GraphQL Modules 🎉
With this release we invite developers to try new way for defining GraphQL schemas in their Ariadne projects.
Please see readme and reference files for usage examples and documentation.
Feel free to use Ariadne's discussions to discuss this package!
This release moves BaseType
to public API, making it directly importable from ariadne_graphql_modules
.
It also re-exports ariadne.gql
utility from ariadne_graphql_modules
saving one extra import:
from ariadne_graphql_modules import ObjectType, gql
class MyType(ObjectType):
__schema__ = gql(
"""
type User {
name: String!
}
"""
)
Published by rafalp over 2 years ago