Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1476

Yaml Driver doesn't default field types to string

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: Mapping Drivers
    • Security Level: All
    • Labels:
      None
    • Environment:
      All

      Description

      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?

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Merged

        Show
        Benjamin Eberlei added a comment - Merged

          People

          • Assignee:
            Fabio B. Silva
            Reporter:
            Anton Stoychev
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: