mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #832] [MERGED] Added "readOnly: true" to YAML reference #8763
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/832
Author: @mnapoli
Created: 10/31/2013
Status: ✅ Merged
Merged: 12/14/2013
Merged by: @Ocramius
Base:
master← Head:patch-4📝 Commits (1)
f3f9fe9Added "readOnly: true" to YAML reference📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
docs/en/reference/yaml-mapping.rst(+1 -0)📄 Description
The readOnly configuration is documented nowhere except in the annotations reference.
I added it to the example, for a lack of a better place. But at least it will be documented somewhere.
Can you also confirm that this is correct? I'm starting to use it, and I can't find a way to have doctrine validate it is really working. Even with the metadata validation tool, it won't raise an error if I put an invalid entry (
readOnlyFOOBAR: true) or an invalid value (readOnly: FOOBAR), so I'm kind of blind here.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.