We would like to support App Liquid drop in theme app extension Liquid code such as app blocks and embeds.
How did we implement this change?
We updated the initializer of UndefinedObject checker to take a new arg called config_type which is set to :default as the default value. We updated then theme app extension config file to pass the config_type of UndefinedObject checker as :theme_app_extension. Base on theconfig_type` we will be able to allow and reject more liquid objects in theme app extension liquid code.
Context
We would like to support
App
Liquid drop in theme app extension Liquid code such as app blocks and embeds.How did we implement this change?
We updated the initializer of
UndefinedObject
checker to take a new arg calledconfig_type
which is set to:default
as the default value. We updated then theme app extension config file to pass theconfig_type
ofUndefinedObject
checker as:theme_app_extension. Base on the
config_type` we will be able to allow and reject more liquid objects in theme app extension liquid code.