Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example with Embedded #1397

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Update example with Embedded #1397

merged 1 commit into from
Jul 20, 2023

Conversation

qdequippe
Copy link
Contributor

Add file property for Doctrine Embedded example to show how to map fields

@@ -271,6 +271,10 @@ class Product

// ... other fields

// NOTE: This is not a mapped field of entity metadata, just a simple property.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would be the purpose of this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your question is about the comment? if yes it's the same as in the doc without using the Embedded.

If it's about the PR globally it's to show mapping example for Embedded, for example fileNameProperty: 'image.name', size: 'image.size'

@garak garak merged commit 05f4df4 into dustin10:master Jul 20, 2023
9 checks passed
@qdequippe qdequippe deleted the sample-usage-doc branch July 20, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants