mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #852] [CLOSED] Fixes column name yaml mapping #8798
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/852
Author: @jfsimon
Created: 11/20/2013
Status: ❌ Closed
Base:
master← Head:yaml-mapping-fix📝 Commits (2)
d3b04fafixed basic yaml mapping doc159db02added name support to yaml field mapping📊 Changes
2 files changed (+6 additions, -2 deletions)
View changed files
📝
docs/en/reference/basic-mapping.rst(+2 -2)📝
lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php(+4 -0)📄 Description
Documentation about YAML field column name mapping is wrong:
nameattribute defines column name;columnas column name definition attribute.This PR fixes documentation and adds
nameattribute supports to YAML field mapping.Note that XML and annotations are using
nameattribute, then I think YAML should use it too. Feel free to tell me if I should remove one of these two commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.