github ardatan/graphql-tools release-1729071034052
October 16, 2024

latest releases: release-1729095308987, @graphql-tools/wrap@10.0.9, @graphql-tools/url-loader@8.0.6...
16 hours ago

@graphql-tools/batch-delegate@9.0.5

Patch Changes

  • Updated dependencies
    [7e2938d]:
    • @graphql-tools/delegate@10.0.23

@graphql-tools/delegate@10.0.23

Patch Changes

  • #6573
    7e2938d
    Thanks @ardatan! - When there are two services like below then the
    following query senty, the gateway tries to fetch id as an extra field because it considers id
    might be needed while this is not correct. This patch avoids any extra calls, and forwards the
    query as is to the 2nd service.

    query {
      viewer {
        booksContainer(input: $input) {
          edges {
            cursor
            node {
              source {
                # Book(upc=)
                upc
              }
            }
          }
          pageInfo {
            endCursor
          }
        }
      }
    }
    type Book @key(fields: "id") @key(fields: "upc") {
      id: ID!
      upc: ID!
    }
    type BookContainer { # the type that is used in a collection
      id: ID!
      # ... other stuff here
      source: Book!
    }
    
    type Book @key(fields: "upc") {
      upc: ID!
    }
    
    type Query {
      viewer: Viewer
    }
    
    type Viewer {
      booksContainer: BooksContainerResult
    }
    
    type BooksContainerResult {
      edges: [BooksContainerEdge!]!
      pageInfo: PageInfo!
    }
    
    type BooksContainerEdge {
      node: BookContainer!
      cursor: String!
    }
    
    type PageInfo {
      endCursor: String
    }

@graphql-tools/executor-envelop@3.0.2

Patch Changes

  • Updated dependencies []:
    • @graphql-tools/wrap@10.0.7

@graphql-tools/executor-yoga@3.0.2

Patch Changes

  • Updated dependencies []:
    • @graphql-tools/executor-envelop@3.0.2

@graphql-tools/federation@2.2.12

Patch Changes

  • #6573
    7e2938d
    Thanks @ardatan! - When there are two services like below then the
    following query senty, the gateway tries to fetch id as an extra field because it considers id
    might be needed while this is not correct. This patch avoids any extra calls, and forwards the
    query as is to the 2nd service.

    query {
      viewer {
        booksContainer(input: $input) {
          edges {
            cursor
            node {
              source {
                # Book(upc=)
                upc
              }
            }
          }
          pageInfo {
            endCursor
          }
        }
      }
    }
    type Book @key(fields: "id") @key(fields: "upc") {
      id: ID!
      upc: ID!
    }
    type BookContainer { # the type that is used in a collection
      id: ID!
      # ... other stuff here
      source: Book!
    }
    
    type Book @key(fields: "upc") {
      upc: ID!
    }
    
    type Query {
      viewer: Viewer
    }
    
    type Viewer {
      booksContainer: BooksContainerResult
    }
    
    type BooksContainerResult {
      edges: [BooksContainerEdge!]!
      pageInfo: PageInfo!
    }
    
    type BooksContainerEdge {
      node: BookContainer!
      cursor: String!
    }
    
    type PageInfo {
      endCursor: String
    }
  • Updated dependencies
    [7e2938d]:

    • @graphql-tools/delegate@10.0.23
    • @graphql-tools/stitch@9.2.12
    • @graphql-tools/wrap@10.0.7

@graphql-tools/links@9.0.3

Patch Changes

  • Updated dependencies
    [7e2938d]:
    • @graphql-tools/delegate@10.0.23

@graphql-tools/prisma-loader@8.0.6

Patch Changes

  • Updated dependencies []:
    • @graphql-tools/url-loader@8.0.4

@graphql-tools/url-loader@8.0.4

Patch Changes

  • Updated dependencies
    [7e2938d]:
    • @graphql-tools/delegate@10.0.23
    • @graphql-tools/wrap@10.0.7

@graphql-tools/stitch@9.2.12

Patch Changes

  • #6573
    7e2938d
    Thanks @ardatan! - When there are two services like below then the
    following query senty, the gateway tries to fetch id as an extra field because it considers id
    might be needed while this is not correct. This patch avoids any extra calls, and forwards the
    query as is to the 2nd service.

    query {
      viewer {
        booksContainer(input: $input) {
          edges {
            cursor
            node {
              source {
                # Book(upc=)
                upc
              }
            }
          }
          pageInfo {
            endCursor
          }
        }
      }
    }
    type Book @key(fields: "id") @key(fields: "upc") {
      id: ID!
      upc: ID!
    }
    type BookContainer { # the type that is used in a collection
      id: ID!
      # ... other stuff here
      source: Book!
    }
    
    type Book @key(fields: "upc") {
      upc: ID!
    }
    
    type Query {
      viewer: Viewer
    }
    
    type Viewer {
      booksContainer: BooksContainerResult
    }
    
    type BooksContainerResult {
      edges: [BooksContainerEdge!]!
      pageInfo: PageInfo!
    }
    
    type BooksContainerEdge {
      node: BookContainer!
      cursor: String!
    }
    
    type PageInfo {
      endCursor: String
    }
  • Updated dependencies
    [7e2938d]:

    • @graphql-tools/delegate@10.0.23
    • @graphql-tools/batch-delegate@9.0.5
    • @graphql-tools/wrap@10.0.7

@graphql-tools/stitching-directives@3.1.4

Patch Changes

  • Updated dependencies
    [7e2938d]:
    • @graphql-tools/delegate@10.0.23

@graphql-tools/wrap@10.0.7

Patch Changes

  • Updated dependencies
    [7e2938d]:
    • @graphql-tools/delegate@10.0.23

Don't miss a new graphql-tools release

NewReleases is sending notifications on new releases.