theme-tools icon indicating copy to clipboard operation
theme-tools copied to clipboard

Invalid completion for `metaobject` type schema settings

Open david-w-shopify opened this issue 10 months ago • 0 comments

Describe the bug On adding a metaobject schema setting in a section, for example, the default key is suggested.

Image

On trying to upload a setting with this key, the CLI reports that default is not a valid attribute

Image

Source

// sections/test.liquid

{% schema %}
{
  "name": "Test",
  "settings": [
    {
      "type": "metaobject",
      "id": "test",
      "label": "Test",
      "metaobject_type": "test",
      "default": "test"
    }
  ]
}
{% endschema %}

Expected behaviour default is not suggested as a key for metaobject schema settings

Actual behaviour default is suggested as a key for metaobject schema settings

Debugging information

  • OS: masOs
  • OS Version: Sequoia 15.3.1

david-w-shopify avatar Feb 27 '25 14:02 david-w-shopify