Function idInfoFromSchema
- idInfoFromSchema<Scalars>(schema: Readonly<{
[key: string]: SchemaField<Scalars>;
}>): {
idField: string;
idGeneration: IdGenerationStrategy;
idScalar: keyof Scalars;
}
-
Parameters
-
schema: Readonly<{
[key: string]: SchemaField<Scalars>;
}>
Returns {
idField: string;
idGeneration: IdGenerationStrategy;
idScalar: keyof Scalars;
}
-
idField: string
-
-
idScalar: keyof Scalars