We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a4164d commit 4c35138Copy full SHA for 4c35138
src/collections/config/utils.ts
@@ -395,7 +395,13 @@ class ConfigMapping {
395
};
396
}
397
static multiTenancy(v?: WeaviateMultiTenancyConfig): MultiTenancyConfig {
398
- if (v === undefined) throw new WeaviateDeserializationError('Multi tenancy was not returned by Weaviate');
+ if (v === undefined) {
399
+ return {
400
+ autoTenantActivation: false,
401
+ autoTenantCreation: false,
402
+ enabled: false,
403
+ };
404
+ }
405
return {
406
autoTenantActivation: v.autoTenantActivation ? v.autoTenantActivation : false,
407
autoTenantCreation: v.autoTenantCreation ? v.autoTenantCreation : false,
0 commit comments