Releases: strollby/graphene-mongo
[v0.4.4.beta.2] Fix convert_field_to_list resolution
What's Changed
Full Changelog: v0.4.4.beta.1...v0.4.4.beta.2
[v0.4.4.beta.1] Fix null=true does not make gql not required
fix: fields having required=true and null=true were being set as required in graphql layer
feat: field's description can be set by adding description="..." argument in field similar to graphql in addition to help_text
[v0.4.1.beta.4] Fix unwanted fetch in ReferenceField and CachedReferenceField
fix: reference field, cache field refetching data even when field is already pre-fetched
Fix: support for new graphene-federation
- fix
@sharable
not added on all classes inheriting from_CoordinatesTypeField
andFileFieldType
- drop support for python 3.8
[v0.4.1.beta.2] fix: pagination errors
- hasNextPage didn't become false when using after and first together
- Fixed reverse Querying using last and before, in compliance to graphql relay spec
- handle
@include
,@skip
directives when checking user queried fields
[v0.4.1.experimental.1] Offset pagination feat: experimental offset-pagination
Introduced
AsyncMongoenginePaginationObjectType
AsyncMongoenginePaginationField
Usages
Sample
query UsersQuery($offset: Int, $limit: Int) {
usersQuery(offset: $offset, limit: $limit) {
edges {
node {
id
}
}
pageCount # new field
}
}
Recommended Usage
query UsersQuery($offset: Int, $limit: Int, $requires_page_count: Boolean!) {
usersQuery(offset: $offset, limit: $limit) {
edges {
node {
id
}
}
pageCount @include(if: $requires_page_count)
}
}
@include
directive can be used to auto include the field dynamically
or you can achieve the same using the @skip
directive
v0.4.1.beta.1 Async Optimizations
Async Optimizations
Improved Performance
Full Changelog: v0.4.1...v0.4.1.beta.1
v0.4.1 Fixed union type naming for mongo_fields having inner mongo_field
fix: union type naming for mongo_fields having inner mongo_field
eg:
field_name = ListField(GenericLazyReferenceField(choices=[X1,X2])) generates type ModelNameNoneUnionType
This fix will make it ModelNameFieldNameUnionType
Full Changelog: v0.4.0...v0.4.1
v0.4.0 - Async Support & Pagination Fixes
What's Changed
- Support Graphene Federation by @arunsureshkumar in #1
- Feat: Adds Decimal128Field Converter & bumps mongoengine by @abhinand-c in #3
- Fix(register): updated register_enum function support custom classes by @AdithyanJothir in #4
- Update requirements.txt (graphql-python#221) by @abhinand-c in #5
New Contributors
- @arunsureshkumar made their first contribution in #1
- @abhinand-c made their first contribution in #3
- @AdithyanJothir made their first contribution in #4
Full Changelog: v0.2.13...v0.4.0
v0.4.0-beta.6 - Pagination Fix
What's Changed
Full Changelog: v0.4.0-beta.5...v0.4.0-beta.6