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

Closed
doctrinebot opened this Issue Jul 11, 2014 · 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 Dec 7, 2015
@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 Jan 6, 2016
@deeky666 deeky666 removed the New Feature label Jan 6, 2016
@deeky666 deeky666 assigned deeky666 and unassigned beberlei Jan 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment