Skip to content

Invalid completion for metaobject type schema settings #827

Open
@david-w-shopify

Description

@david-w-shopify

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingSEV-3Normal Severity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions