You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Attach a unified parser with the JSON schema contract, like the real flow does
2687
+
constvalidationSchema={
2688
+
jsonSchema:
2689
+
'{"type":"object","additionalProperties":false,"properties":{"bundles":{"type":"boolean","description":"Whether the app supports purchase options on bundle products"}}}',
'{"type":"object","additionalProperties":false,"properties":{"bundles":{"type":"boolean","description":"Whether the app supports purchase options on bundle products"}}}',
165
+
},
166
+
}
167
+
168
+
// When: The parser receives a full app config where "purchase_options" is a nested section
'{"type":"object","additionalProperties":false,"properties":{"bundles":{"type":"boolean","description":"Whether the app supports purchase options on bundle products"}}}',
191
+
},
192
+
}
193
+
194
+
// When: The config does NOT contain "purchase_options"
0 commit comments