Skip to content

Should generate a string when is previously setted? #35

Description

@terox

Hello!

I am having some issue with the generate annotation. I am not sure that is a normal behaviour.

When we have a new entity (not persisted) and I set manually a field with generate annotation, it is automatically replaced with generator value when it is persisted by Doctrine.

I am not sure, but I think that setted value should have more priority than autogenerated value. There are some edge cases than that fields are manully fillable or autogenerated.

What do you think?

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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