mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-27 16:10:36 +07:00
Suppressed undeclared primary key warning when schema tagged as indexed
This commit is contained in:
parent
fe19de2033
commit
2ab7c7ceb0
@ -62,9 +62,11 @@ final class SchemaElement {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
context.warn(element,
|
if (!annotation.indexed()) {
|
||||||
"{element} did not declare any valid {}, using {}",
|
context.warn(element,
|
||||||
PrimaryKey.class, primaryKeyFieldElement);
|
"{element} did not declare any valid {}, using {}",
|
||||||
|
PrimaryKey.class, primaryKeyFieldElement);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TableElement tableElement = TableElement.get(context, typeElement);
|
TableElement tableElement = TableElement.get(context, typeElement);
|
||||||
|
Loading…
Reference in New Issue
Block a user