Skip to content

September 12, 2024

Compare
Choose a tag to compare
@theguild-bot theguild-bot released this 12 Sep 17:45
· 44 commits to master since this release
6bab4d1

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

  • #7676
    adc3293
    Thanks @ardatan! - If the target hoisted field is a new field name
    that doesn't exist, create that field and keep the existing one;

    createHoistFieldTransform({
      mapping: [
        {
          typeName: 'Query',
          pathConfig: ['users', 'results'],
          newFieldName: 'usersResults'
        }
      ]
    })
    type Query {
      users(limit: Int!, page: Int): UserSearchResult # Keep this
    + usersResults(limit: Int!, page: Int): [User!]! # Add a new one
    }
    
    scalar _HoistConfig
    
    type UserSearchResult {
      page: Int!
    }
    
    type User {
      id: ID!
      name: String!
    }

@graphql-mesh/[email protected]

Patch Changes

  • #7676
    adc3293
    Thanks @ardatan! - If the target hoisted field is a new field name
    that doesn't exist, create that field and keep the existing one;

    createHoistFieldTransform({
      mapping: [
        {
          typeName: 'Query',
          pathConfig: ['users', 'results'],
          newFieldName: 'usersResults'
        }
      ]
    })
    type Query {
      users(limit: Int!, page: Int): UserSearchResult # Keep this
    + usersResults(limit: Int!, page: Int): [User!]! # Add a new one
    }
    
    scalar _HoistConfig
    
    type UserSearchResult {
      page: Int!
    }
    
    type User {
      id: ID!
      name: String!
    }

@graphql-hive/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

@graphql-mesh/[email protected]

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes