Skip to content

How set that object property should be optional only, if there is explicit nullable property in scheme #7

@prosteNoBody

Description

@prosteNoBody

Hi,
when I generate my typescript class from my scheme, almost all of my properties on the class are optional. This is cause because we generarte scheme where no nullable property mean, it is not nullable. It need to be explicitly said that specific value is nullable. (we use NelmioBundle)

Is there any way to configure this kind behaviour, so "no nullable atrribute" means "it is not nullable"?

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