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 429fce1 commit 0bbc320Copy full SHA for 0bbc320
packages/appsync-modelgen-plugin/src/utils/fieldUtils.ts
@@ -28,7 +28,7 @@ export function getOtherSideBelongsToField(type: string, otherSideModel: CodeGen
28
/**
29
* Given a model, it returns the primary and sort key fields if present, an empty list otherwise.
30
* @param model Codegen Model object
31
- * @returns Array of primary and sort key codegen fields if present or an ampty list
+ * @returns Array of primary and sort key codegen fields if present or an empty list
32
*/
33
export function getModelPrimaryKeyComponentFields(model: CodeGenModel): CodeGenField[] {
34
const primaryKeyField = model.fields.find(field => field.primaryKeyInfo);
0 commit comments