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 thecomputed
setting structures the field in a way that assures it is always selected with this data provided. TheselectionSet
is intentionally generic to support possible future uses. This new pattern organizes all field-level configuration (includingcanonical
) into a single structure.