Not sure what would be the best place to put this, so let me know if there is a better spot for bugs.
I’m creating a MetafieldDefinition
by passing a MetafieldDefinitionInput
. When using ctrl+k
to get suggestions for the access.admin
field, the options are: MERCHANT_READ
and MERCHANT_READ_WRITE
. But using those I get a userError
telling me I can only use public_read_write
- The error is vague: “Setting this access control”. There are three possible options:
admin
,storeFront
andcustomerAccount
, so which one is “this access control” referencing? By testing different combinations I see only theadmin
one triggers the error, so why doesn’t it mentionadmin
in the error? - None of the above 3 (in the form of
MetafieldAdminAccessInput
,MetafieldStorefrontAccessInput
andMetafieldCustomerAccountAccessInput
) accept a value ofpublic_read_write
according to the docs (also, aren’t these values always uppercase?)