Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unimplement JsExpressionable from View #1957

Merged
merged 10 commits into from
Dec 27, 2022
Merged

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Dec 24, 2022

prevent bad use of View, the ID is never an invokeable expression, we we can thread it like other literals when rendering

BC break only when

  • View was rendered thru some custom JS renderer (rare)
  • or View ID was obtained thru calling $view->jsRender() directly (never recommended, pass View instance to JsExpression directly)

@mvorisek mvorisek marked this pull request as ready for review December 24, 2022 11:40
@mvorisek mvorisek merged commit 6007748 into develop Dec 27, 2022
@mvorisek mvorisek deleted the view_no_jsexpressionable branch December 27, 2022 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant