(
name: string,
fieldName: string | null,
containingTypeName: string | null
)
| 59 | } |
| 60 | |
| 61 | function makeTypeNames( |
| 62 | name: string, |
| 63 | fieldName: string | null, |
| 64 | containingTypeName: string | null |
| 65 | ): NamesWithAlternatives { |
| 66 | const alternatives: string[] = []; |
| 67 | if (fieldName) alternatives.push(fieldName); |
| 68 | if (containingTypeName) alternatives.push(`${containingTypeName}_${name}`); |
| 69 | if (fieldName && containingTypeName) alternatives.push(`${containingTypeName}_${fieldName}`); |
| 70 | return { names: OrderedSet([name]), alternatives: OrderedSet(alternatives) }; |
| 71 | } |
| 72 | |
| 73 | function makeNullable( |
| 74 | builder: TypeBuilder, |
no outgoing calls
no test coverage detected
searching dependent graphs…