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

Quoted references parsed as string instead of reference #304

Closed
FoxxMD opened this issue Jan 14, 2016 · 0 comments · Fixed by #305
Closed

Quoted references parsed as string instead of reference #304

FoxxMD opened this issue Jan 14, 2016 · 0 comments · Fixed by #305

Comments

@FoxxMD
Copy link

FoxxMD commented Jan 14, 2016

Since Symfony 3.0 we can no longer use @ without it being quoted to reference a relationship, but after single quoting all my references I now get errors like

Expected value of type "apiNext\Models\Merchant" for association field "apiNext\Models\Product#$merchant", got "string" instead.  

From a yaml file that looks like this

product1 (extends product):
  merchant: '@merchant1'

where it used to work perfectly unquoted

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 a pull request may close this issue.

1 participant