Skip to content
This repository was archived by the owner on Jul 27, 2024. It is now read-only.
This repository was archived by the owner on Jul 27, 2024. It is now read-only.

app object unrecognized in :theme_app_extension config #592

@mmorissette

Description

@mmorissette

Support for the new app liquid object was added as part of #566. However running theme-check with the theme-app-extension config still reports an error.

➜  theme-extension git:(main) ✗ theme-check -C :theme_app_extension
Checking . ...

blocks/hello.liquid:7: error: UndefinedObject: Undefined object `app`.
	{{ app.metafields.features.test }}
	  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Same happens when running from shopify CLI

➜  theme-extension git:(main) ✗ shopify extension check
Checking . ...

blocks/hello.liquid:7: error: UndefinedObject: Undefined object `app`.
	{{ app.metafields.features.test }}
	  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Unsure if the problem is with the implementation of support for app object or with loading the correct config from the command line.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions