Shopify / theme-check

The Ultimate Shopify Theme Linter
Other
333 stars 96 forks source link

[TAE] add section context to app blocks #725

Closed patrickracicot closed 1 year ago

patrickracicot commented 1 year ago

What are you trying to accomplish?

Although initially the section object was not a valid local-global variable inside app-block context, we are re-introducing it which will allow app-block developers to leverage it to consume section rendering APIs.

Important to note that only the ID property will be exposed.

shainaraskas commented 1 year ago

does this check / the check's documentation also need to be updated?

https://github.com/Shopify/theme-check/blob/main/docs/checks/app_block_valid_tags.md