Skip to content

Is there any reason to schema-generators.generators/default-leaf-generators does not be called in schema-generators.complete/complete? #26

@gilvan-reis

Description

@gilvan-reis

Hi, I am getting the error You must provide a leaf generator for schema.spec.leaf.LeafSpec@2bd8c7ed when calling the schema-generators.complete/complete for a given schema, but when I call schema-generators.generators/generate for the same schema it work without need to pass any additional leaf generator.

Looking at the code, I have found the default-leaf-generators (source) that is only called in the generate.

Is there any reason for that?

Could we add those default leaf generators to complete in order to both work with the same types?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions