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

DDC-3838: Add support for usig DTOs as constructor arguments #4687

Open
doctrinebot opened this issue Jul 18, 2015 · 0 comments
Open

DDC-3838: Add support for usig DTOs as constructor arguments #4687

doctrinebot opened this issue Jul 18, 2015 · 0 comments
Milestone

Comments

@doctrinebot
Copy link

Jira issue originally created by user marcospassos:

I've a user case where I need to instantiate a DTO that requires use another DTO as argument:

SELECT NEW User(user.name, user.email, NEW Address(address.street, ...))

..

Today it's not possible and an exception is thrown:

[Syntax Error] line 0, col 95: Error: Unexpected 'NEW'
@Majkl578 Majkl578 added this to the 3.0 milestone Sep 11, 2017
fesor pushed a commit to fesor/doctrine2 that referenced this issue Sep 17, 2017
fesor added a commit to fesor/doctrine2 that referenced this issue Sep 19, 2017
fesor added a commit to fesor/doctrine2 that referenced this issue Jan 27, 2018
fesor added a commit to fesor/doctrine2 that referenced this issue Jan 27, 2018
@derrabus derrabus modified the milestones: 3.0.0, 4.0.0 May 11, 2022
norkunas pushed a commit to norkunas/orm that referenced this issue Feb 8, 2024
norkunas pushed a commit to norkunas/orm that referenced this issue Feb 8, 2024
norkunas pushed a commit to norkunas/orm that referenced this issue Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants