Skip to content

Unimplement JsExpressionable from View#1957

Merged
mvorisek merged 10 commits intodevelopfrom
view_no_jsexpressionable
Dec 27, 2022
Merged

Unimplement JsExpressionable from View#1957
mvorisek merged 10 commits intodevelopfrom
view_no_jsexpressionable

Conversation

@mvorisek
Copy link
Copy Markdown
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 force-pushed the view_no_jsexpressionable branch from 091a682 to fff7811 Compare December 24, 2022 09:09
@mvorisek mvorisek force-pushed the view_no_jsexpressionable branch from fff7811 to 15115a3 Compare December 24, 2022 09:36
@mvorisek mvorisek force-pushed the view_no_jsexpressionable branch from fbb6d18 to 71b88f7 Compare December 24, 2022 09:54
@mvorisek mvorisek force-pushed the view_no_jsexpressionable branch from 95ff375 to a2ed154 Compare December 24, 2022 11:30
@mvorisek mvorisek force-pushed the view_no_jsexpressionable branch from 926e0a7 to 8afecf1 Compare December 24, 2022 11:40
@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

Development

Successfully merging this pull request may close these issues.

1 participant