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 3b4ff68 commit 787f7a0Copy full SHA for 787f7a0
src/schema-generation/utils/flex-search-utils.ts
@@ -52,7 +52,7 @@ export function getSortClausesForPrimarySort(
52
// this would be cleaner if the primary sort was actually parsed into a ModelComponent (see e.g. the Index and IndexField classes)
53
return objectType.flexSearchPrimarySort.map((clause) =>
54
orderByType.getValueOrThrow(
55
- clause.field.path.replace('.', '_') +
+ clause.field.path.replaceAll('.', '_') +
56
(clause.direction === OrderDirection.ASCENDING ? '_ASC' : '_DESC'),
57
),
58
);
0 commit comments