github ardatan/graphql-tools @graphql-tools/delegate@7.0.10

latest releases: release-1715723999338, @graphql-tools/graphql-tag-pluck@8.3.1, @graphql-tools/git-loader@8.0.6...
3 years ago

Patch Changes

  • 2492665: Deprecates the MergeTypeConfig.computedFields setting (with backwards-compatible warning) in favor of new computed field configuration written as:

    merge: {
      MyType: {
        fields: {
          myComputedField: {
            selectionSet: '{ weight }',
            computed: true,
          }
        }
      }
    }

    A field-level selectionSet specifies field dependencies while the computed setting structures the field in a way that assures it is always selected with this data provided. The selectionSet is intentionally generic to support possible future uses. This new pattern organizes all field-level configuration (including canonical) into a single structure.

Don't miss a new graphql-tools release

NewReleases is sending notifications on new releases.