Skip to content

Option to omit certain models #32

@daedalus28

Description

@daedalus28

Hi there! First off, thanks for this very useful library.

I'm looking to use this to automate the construction of Typebox types in the context of a feathers app and so I don't need anything but the plain models. I'm also unfortunately forced to use an older version of Typebox which doesn't support things like Composite (so I can't just ignore the other types and need to proactively edit the generated files). I see the input model option, but is there a way to only generate the plain models? From what I can tell, it looks like this would be an easy option to add here if not already supported:

https://github.com/m1212e/prismabox/blob/main/src/index.ts#L40-L53

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions