Skip to content

Commit ab5fad6

Browse files
fix: lint and missing link
1 parent 9627e6b commit ab5fad6

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

core/doctrine-filters.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,9 +1524,9 @@ class Invoice
15241524
}
15251525
```
15261526

1527-
And that's it! ✅
1527+
And that's it! ✅
15281528

1529-
Your filter is operational.
1529+
Your filter is operational.
15301530

15311531
A request like `GET /invoices?createdAtMonth=7` will now correctly return the invoices from July!
15321532

@@ -1587,6 +1587,9 @@ This approach offers two key benefits:
15871587
This means you **don't have to add custom validation to your filter class, entity, or model**. The validation is handled
15881588
for you, making your code cleaner and more efficient.
15891589

1590+
> [!TIP]
1591+
> For a complete list of constraints, see the [complete OpenApi format in the documentation](../core/filters.md#from-openapi-definition).
1592+
15901593
### Documenting the ORM Filter (OpenAPI)
15911594

15921595
#### The Simple Method (for scalar types) On A Custom ORM Filter
@@ -1994,12 +1997,11 @@ class Invoice
19941997
}
19951998
```
19961999

1997-
And that's it! ✅
2000+
And that's it! ✅
19982001

1999-
Your filter is operational.
2002+
Your filter is operational.
20002003

2001-
A request like `GET /invoices?createdAtMonth=7` will now correctly return
2002-
the invoices from July!
2004+
A request like `GET /invoices?createdAtMonth=7` will now correctly return the invoices from July!
20032005

20042006
#### Adding Custom Filter ODM Validation And A Better Typing
20052007

@@ -2058,6 +2060,9 @@ This approach offers two key benefits:
20582060
This means you **don't have to add custom validation to your filter class, entity, or model**. The validation is handled
20592061
for you, making your code cleaner and more efficient.
20602062

2063+
> [!TIP]
2064+
> For a complete list of constraints, see the [full OpenApi format in the documentation](../core/filters.md#from-openapi-definition).
2065+
20612066
### Documenting the ODM Filter (OpenAPI)
20622067

20632068
#### The Simple Method (for scalar types) On A Custom ODM Filter

0 commit comments

Comments
 (0)