Skip to content

Releases: strollby/graphene-mongo

[v0.4.4.beta.2] Fix convert_field_to_list resolution

13 Jan 16:42
Compare
Choose a tag to compare

What's Changed

  • fix[converter]: convert_field_to_list resolver error by @mak626 in #20

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

18 Nov 10:35
Compare
Choose a tag to compare

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

17 Jun 16:10
Compare
Choose a tag to compare

fix: reference field, cache field refetching data even when field is already pre-fetched

Fix: support for new graphene-federation

09 May 06:17
Compare
Choose a tag to compare
  • fix @sharable not added on all classes inheriting from _CoordinatesTypeField and FileFieldType
  • drop support for python 3.8

[v0.4.1.beta.2] fix: pagination errors

21 Dec 15:10
Compare
Choose a tag to compare

[v0.4.1.experimental.1] Offset pagination

feat: experimental offset-pagination

21 Dec 17:26
Compare
Choose a tag to compare

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

09 Dec 11:48
Compare
Choose a tag to compare

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

29 Nov 11:50
Compare
Choose a tag to compare

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

29 Nov 05:10
2a094fc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.13...v0.4.0

v0.4.0-beta.6 - Pagination Fix

21 Nov 16:55
efe9b4e
Compare
Choose a tag to compare

What's Changed

  • fix: has_next_page using limit by @mak626 in #12

Full Changelog: v0.4.0-beta.5...v0.4.0-beta.6