Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ Both approaches converge on the same verification step. `ORMTemplate.validateSch
class EntitySchemaTest {
@Test
fun validateNewEntities(orm: ORMTemplate) {
val errors = orm.validateSchema(listOf(
Order::class.java,
OrderLine::class.java,
Product::class.java
))
val errors = orm.validateSchema(
Order::class,
OrderLine::class,
Product::class
)
assertTrue(errors.isEmpty()) { "Schema validation errors: $errors" }
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Both methods have overloads that accept specific types to validate:
<TabItem value="kotlin" label="Kotlin" default>

```kotlin
orm.validateSchema(listOf(User::class.java, Order::class.java))
orm.validateSchema(User::class, Order::class)
```

</TabItem>
Expand Down
2 changes: 1 addition & 1 deletion website/static/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10841,7 +10841,7 @@ Both methods have overloads that accept specific types to validate:
[Kotlin]

```kotlin
orm.validateSchema(listOf(User::class.java, Order::class.java))
orm.validateSchema(User::class, Order::class)
```

[Java]
Expand Down
Loading