Skip to content

Loading…

DBAL-937: Make fieldDeclaration available in getName method of class Type #2180

Closed
doctrinebot opened this Issue · 1 comment

3 participants

@doctrinebot

Jira issue originally created by user dnt:

I've created a custom type that stores its data in a VARCHAR field. As requiresSQLCommentHint() returns true the value returned by getName() is used as type hint. If I change the length of the field in the entity mapping the scheme won't be updated because getName() still returns the same string. Now I would like to add the length to the returned string. Because this requires access to the fieldDeclaration I suggest to pass this array as paramater to getName().

@beberlei beberlei was assigned by doctrinebot
@deeky666
Doctrine member

I don't get what the problem is here. Unfortunately I don't know who to poke here. Seems the user from JIRA is not the same as on GitHub. Closing this for now.

@deeky666 deeky666 closed this
@deeky666 deeky666 removed the New Feature label
@beberlei beberlei was unassigned by deeky666
@deeky666 deeky666 self-assigned this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.