Skip to content

Commit f6081cf

Browse files
janedbalondrejmirtes
authored andcommitted
Add example
1 parent 811046b commit f6081cf

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,3 +220,16 @@ parameters:
220220
doctrine:
221221
reportUnknownTypes: true
222222
```
223+
224+
This causes failures when your entity uses custom type without descriptor:
225+
226+
```php
227+
#[Entity]
228+
abstract class Uuid7Entity
229+
{
230+
231+
#[Id]
232+
#[Column(type: Uuid7Type::NAME)] // reported when descriptor for such type is missing
233+
private Uuid7 $hsCode;
234+
235+
```

0 commit comments

Comments
 (0)