Is there a limit on how many metafields you can add in the shopify.extension.toml ?

Hey,

I have a working checkout extension today with these metafields:

[[extensions.metafields]]
namespace = "pickup_point"
key = "name"

[[extensions.metafields]]
namespace = "pickup_point"
key = "identity"

[[extensions.metafields]]
namespace = "pickup_point"
key = "street"

[[extensions.metafields]]
namespace = "pickup_point"
key = "postalcode"

[[extensions.metafields]]
namespace = "pickup_point"
key = "city"

[[extensions.metafields]]
namespace = "pickup_point"
key = "door_consent"

[[extensions.metafields]]
namespace = "pickup_point"
key = "address"

[[extensions.metafields]]
namespace = "pickup_point"
key = "code"

But if i try to add another metafield i get this error message from the CLI

I only added this metafield code

[[extensions.metafields]]
namespace = "pickup_point"
key = "type"

The error message doesnt really help me, does anyone figured out if theres a limit on how many metafields you are allowed to use in the extension toml file or could it be something else?

Hi Jonna - I connected with the Checkout Extensibility team on this and it does appear the limit for metafields in the toml is eight. We’ll update the docs to reflect this. Thanks for flagging this!

Thanks Liam for clarifying this! I was going crazy because i didnt understand this error message.
Is it possible this limit would be increased in the future?

Hi again Jonna - we’re evaluating this limit to see what would work best for developers and merchants.