Generate plain objects by drawing each field from its generator. Uses the schema-based path (tuple schema) when all fields have asBasic(), otherwise falls back to composite draws with a FIXED_DICT span.
const userGen = record({ name: text({ minSize: 1 }), age: integers({ minValue: 0, maxValue: 120 }), active: booleans(),}); Copy
const userGen = record({ name: text({ minSize: 1 }), age: integers({ minValue: 0, maxValue: 120 }), active: booleans(),});
Generate plain objects by drawing each field from its generator. Uses the schema-based path (tuple schema) when all fields have asBasic(), otherwise falls back to composite draws with a FIXED_DICT span.