mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[IMP] component,qweb: props validation
We re-add the possibility to validate props when dev mode is active. No change in the API right Now. The dev mode is activated via the configure method of App class.
This commit is contained in:
committed by
Géry Debongnie
parent
d1425c7100
commit
6e0834ce5e
@@ -1070,7 +1070,7 @@ describe("lifecycle hooks", () => {
|
||||
class Child extends Component {
|
||||
static template = xml`<div>child</div>`;
|
||||
setup() {
|
||||
useLogLifecycle(steps)
|
||||
useLogLifecycle(steps);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1110,7 +1110,7 @@ describe("lifecycle hooks", () => {
|
||||
"Child:render",
|
||||
"Parent:willPatch",
|
||||
"Child:mounted",
|
||||
"Parent:patched"
|
||||
"Parent:patched",
|
||||
]);
|
||||
Object.freeze(steps);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user