Contents

init(type:guides:)

Creates a schema from a generable type and guides.

Declaration

init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable

Parameters

  • type:

    A Generable type

  • guides:

    Generation guides to apply to this DynamicGenerationSchema.

See Also

Creating a dynamic schema