@azure/search-documents 11.3.0-alpha.20211104.2 → 11.3.0-alpha.20211105.2

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/CHANGELOG.md CHANGED
@@ -12,6 +12,10 @@
12
12
  - Renamed `SkillNames` property to `ResetSkillsOptions` (with a `SkillNames` property)
13
13
  - Renamed `ResetDocs` method to `ResetDocuments` in the SDK client.
14
14
 
15
+ ### Bugs Fixed
16
+
17
+ - Fixed the issue with the presence of recursive structure while uploading documents. Please refer [#15656](https://github.com/Azure/azure-sdk-for-js/issues/15656) for further details.
18
+
15
19
  ### Features Added
16
20
 
17
21
  - Added properties `currentState` & `statusDetail` to the `IndexerExecutionResult` object.
package/dist/index.js CHANGED
@@ -1852,7 +1852,7 @@ function walk(start, mapper) {
1852
1852
  const current = queue.shift();
1853
1853
  if (typeof current.value === "object" && current.value !== null) {
1854
1854
  if (seenMarker.has(current.value)) {
1855
- throw new Error("Cannot map a recusive structure.");
1855
+ continue;
1856
1856
  }
1857
1857
  else {
1858
1858
  seenMarker.set(current.value, true);