mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Does an ID always need to be mapped to a property? #6554
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?
Originally created by @gjdanis on GitHub (Oct 15, 2020).
Is mapping an ID to a property required? For example if I have:
And I never expose this field, do I need to have it mapped as a property. Is it possible to not map this field to a property?
@beberlei commented on GitHub (Oct 17, 2020):
No, its required to have the property.