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 embeddable support #17

Merged
merged 2 commits into from
Oct 17, 2019
Merged

Add embeddable support #17

merged 2 commits into from
Oct 17, 2019

Conversation

pamil
Copy link
Contributor

@pamil pamil commented Oct 16, 2019

No description provided.

@pamil pamil added the Feature New feature proposals. label Oct 16, 2019
@pamil pamil force-pushed the embeddable-support branch from 512efdc to c2dc83d Compare October 16, 2019 14:08
@pamil pamil force-pushed the embeddable-support branch from c2dc83d to b86d605 Compare October 16, 2019 14:11
@pamil pamil force-pushed the embeddable-support branch from 493e215 to ee6ee68 Compare October 17, 2019 09:26
@pamil pamil merged commit c51665d into Sylius:master Oct 17, 2019
pamil added a commit that referenced this pull request Oct 17, 2019
This PR was merged into the 1.6-dev branch.

Discussion
----------

Hotfix for bug introduced in #17.

Commits
-------

1d033a4 Prohibit association alias from starting with a number
continue;
}
/** @var Join[] $joins */
$joins = array_merge([], ...array_values($this->queryBuilder->getDQLPart('join')));
Copy link
Member

Choose a reason for hiding this comment

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

array_merge([], ...array_values($this->queryBuilder->getDQLPart('join'))); maybe it could be some (even private static) helper function at the end of file with meaningful name like flattenArray?

@@ -26,7 +26,8 @@
"id": "@integer@",
"name": "American"
}
}
},
"price": "@array@"
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we assert values here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature proposals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants