Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-105

ensure xml and yml naming conventions are consistent

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Labels:
      None

      Description

      for yml, all mappings must use camelCase, while for xml it must be connected-text in all lowercase with the dash between. it seems at least fieldName is wrong.

      we should clean this up before the first release to avoid having to deal with inconsistent legacy from the beginning.

        Activity

        Hide
        David Buchmann added a comment -

        yml is using camelCase everywhere. should we rename fieldName to name as well or is that fine here?

        Show
        David Buchmann added a comment - yml is using camelCase everywhere. should we rename fieldName to name as well or is that fine here?
        Hide
        David Buchmann added a comment -
        Show
        David Buchmann added a comment - for xml, see this PR https://github.com/doctrine/phpcr-odm/pull/279

          People

          • Assignee:
            Lukas Kahwe
            Reporter:
            David Buchmann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: