Skip to content

Can I generate model with pointer fields? gf gen dao #4119

Open
@cindoralla

Description

Description

Thanks for the great work! When using "gf gen dao", the fields of mysql are not null, could you please add a config to make them as pointers? Because our system contains lots of nullable fields and existed logics using the nullable. So I cannot directly make them as not-null.

Additional

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions