@contentful/experiences-core 1.37.0-dev-20250423T1119-4e477a9.0 → 1.37.1-dev-20250423T1409-b90b338.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3215,10 +3215,6 @@ class EntityStoreBase {
3215
3215
  resolvedFieldset.push([entityToResolveFieldsFrom, field, _localeQualifier]);
3216
3216
  entityToResolveFieldsFrom = entity; // we move up
3217
3217
  }
3218
- else {
3219
- // TODO: Eg. when someone changed the schema and the field is not a link anymore, what should we return then?
3220
- throw new Error(`LogicError: Invalid value of a field we consider a reference field. Cannot resolve field ${field} of a fieldset as it is not a link, neither undefined.`);
3221
- }
3222
3218
  }
3223
3219
  return {
3224
3220
  resolvedFieldset,