Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.

Commit 2a237f0

Browse files
committed
fix(types): drop the useless backtick escapes in requireRecordSource's binding strings (objectui#11117)
The merge resolution (80ec249) spelled the two `binding` strings as single-quoted literals with `\`` escapes, which `no-useless-escape` refuses (6 errors, the `Lint` check). The escapes go; the string values are byte-identical, so every message is unchanged. Claude-Session: https://claude.ai/code/session_01VhxTqosz7wn54ahqyxgERT Co-authored-by: Claude <noreply@anthropic.com>
1 parent 80ec249 commit 2a237f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/types/src/zod/objectql.zod.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,8 +2255,8 @@ function requireRecordSource(
22552255
// In the bag the rungs are `properties.KEY`, while the binding stays on the NODE, so that
22562256
// message says whose `dataSource` it means.
22572257
const binding = at === 'properties'
2258-
? 'name the object in the node\'s \`dataSource\` binding (\`dataSource.object\`)'
2259-
: 'name the object in \`dataSource.object\`';
2258+
? 'name the object in the node\'s `dataSource` binding (`dataSource.object`)'
2259+
: 'name the object in `dataSource.object`';
22602260
const message = `\`${type}\` has no record source: declare ${declare}, or ${binding}`;
22612261
const path = rungs.length === 1 ? (at === 'properties' ? ['properties', rungs[0]] : [rungs[0]]) : [];
22622262
const refinement = (node: unknown, ctx: z.core.$RefinementCtx): void => {

0 commit comments

Comments
 (0)