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

Add doc to explain how to access nested property from relation. #1129

Merged
merged 1 commit into from
Feb 11, 2023

Conversation

WedgeSama
Copy link
Contributor

I thinks the right syntaxe must be something like @self->created_by->info->created, but like said it #1116 and refered in #1019, it does not work for now. Using this syntax @self->created_by.info.created, it works.

Do you think I have to add in the doc that it is a workaround for now?

I thinks the right syntaxe must be something like `@self->created_by->info->created`, but like said it nelmio#1116 and refered in nelmio#1019, it does not work for now. Using this syntax `@self->created_by.info.created`, it works.
@theofidry
Copy link
Member

Thank you @WedgeSama, note though that this will not work if the property access component is not used/enabled.

@theofidry theofidry merged commit 2a50358 into nelmio:master Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants