LoadDocument now requires a static string collection name #12893
-
I had an index in 4.2 that used a LoadDocument call like this:
I've updated to 5.2.3 and the index now errors stating that the collection name must be a static string.
This means I have had to write out the map 3 times (more will need to be added too) Help / advice is appreciated as this may be a pain to maintain |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
We added additional validation, your 4.2 index probably was detecting referenced collections incorrectly, hence it was not reacting to changes of these as it should. The string there must be a const in order for us to detect those referenced collection names. |
Beta Was this translation helpful? Give feedback.
We added additional validation, your 4.2 index probably was detecting referenced collections incorrectly, hence it was not reacting to changes of these as it should.
The string there must be a const in order for us to detect those referenced collection names.