When running shopify app build
, to test if the theme app extension is ok, we see a warning MissingSchema
in the terminal, for our snippets.
I don’t recall this message appearing before. Snippet files in official Shopify Themes like Dawn don’t have any schema in them.
If we add an empty schema
to make the warning go away, the shopify app build
commands seems to like that, but then it fails to build when we run shopify app dev
, with Error while updating drafts: [snippets/some_file.liquid] Liquid syntax error: Unknown tag 'schema'
Is schema required after all? And what attributes should it have when it comes to snippets in particular?
Shopify CLI v 3.76.2