Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitebddb78

Browse files
Nyholmjaviereguiluz
authored andcommitted
[Validator] Add warning about closure not being cachable
1 parent0437248 commitebddb78

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎reference/constraints/Callback.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,13 @@ constructor of the Callback constraint::
251251
}
252252
}
253253

254+
..warning::
255+
256+
Using a ``Closure`` together with annotation configuration will disable the
257+
annotation cache for that class/property/methods because ``Closure``s cannot
258+
be cached. For best performance, it is recommended to use a static callback
259+
method.
260+
254261
Options
255262
-------
256263

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp