Skip to content

Fix the problem of not resolving reactive values in models#691

Merged
ebussieres merged 1 commit into
PebbleTemplates:masterfrom
JohnNiang:bug/reactive-model
Apr 1, 2025
Merged

Fix the problem of not resolving reactive values in models#691
ebussieres merged 1 commit into
PebbleTemplates:masterfrom
JohnNiang:bug/reactive-model

Conversation

@JohnNiang

Copy link
Copy Markdown
Contributor

This PR tries to fix the problem described at #513 (comment).

I override the method getModelAttributes to resolve the async attributes automatically, please refer to here.

At last, I added a unit test against the session resolution.

@ebussieres ebussieres added this to the 3.2.4 milestone Apr 1, 2025
@ebussieres ebussieres merged commit 4105d2c into PebbleTemplates:master Apr 1, 2025
@JohnNiang JohnNiang deleted the bug/reactive-model branch April 1, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants