Skip to content


DDC-1476: Yaml Driver doesn't default field types to string #2106

doctrinebot opened this Issue · 2 comments

1 participant


Jira issue originally created by user antitoxic:

Doctrine documentation states that a field default value is a string.
The annotation driver behaves so but the Yaml driver doesn't.

The Yaml driver requires that a field is set a type explicitly.

Why is this different among drivers and what is the actual default behaviour?


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.2 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
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.