File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ type ResolveReverseRelationship<
226
226
: FoundRelation extends { referencedRelation : infer RelatedRelationName extends string }
227
227
? RelatedRelationName extends keyof TablesAndViews < Schema >
228
228
? // If the relation was found via hinting we just return it without any more checks
229
- FoundRelation extends { hint ? : string }
229
+ FoundRelation extends { hint : string }
230
230
? {
231
231
referencedTable : TablesAndViews < Schema > [ RelatedRelationName ]
232
232
relation : FoundRelation
@@ -414,7 +414,7 @@ export type FindFieldMatchingRelationships<
414
414
Schema extends GenericSchema ,
415
415
Relationships extends GenericRelationship [ ] ,
416
416
Field extends Ast . FieldNode
417
- > = Field extends { hint ? : infer Hint extends string }
417
+ > = Field extends { hint : infer Hint extends string }
418
418
? FindMatchingHintTableRelationships <
419
419
Schema ,
420
420
Relationships ,
You can’t perform that action at this time.
0 commit comments