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 70f02bf commit a1bdd4dCopy full SHA for a1bdd4d
packages/compass-collection/src/modules/collection-tab.ts
@@ -788,8 +788,8 @@ const validateFakerSchema = (
788
result[fieldPath] = {
789
mongoType: fakerMapping.mongoType,
790
fakerMethod: UNRECOGNIZED_FAKER_METHOD,
791
- fakerArgs: fakerMapping.fakerArgs,
792
- probability: fakerMapping.probability,
+ fakerArgs: [],
+ probability: inputSchema[fieldPath].probability,
793
};
794
}
795
} else {
@@ -798,7 +798,7 @@ const validateFakerSchema = (
798
mongoType: inputSchema[fieldPath].type,
799
800
fakerArgs: [],
801
- probability: 1,
802
803
804
0 commit comments