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

[5.5] Fixes MySqlGrammar json accessor building. #22254

Merged
merged 3 commits into from
Nov 30, 2017
Merged

[5.5] Fixes MySqlGrammar json accessor building. #22254

merged 3 commits into from
Nov 30, 2017

Conversation

aocneanu
Copy link
Contributor

@aocneanu aocneanu commented Nov 30, 2017

Fixes MySqlGrammar json accessor building when updating a json field with nested columns. Related to #22118

In the current form when we do

$model->update(['jsonColumn->nested->attribute', 'value'])

what gets written in jsonColumn is { nested.attribute: "value" } instead of { nested: { attribute: "value" } }

@aocneanu aocneanu changed the title [5.5] Fixes MySqlGrammar json accessor building. Related to #22118 [5.5] Fixes MySqlGrammar json accessor building. Nov 30, 2017
@themsaid
Copy link
Member

@aocneanu
Copy link
Contributor Author

I just did :)

@taylorotwell taylorotwell merged commit 5662243 into laravel:5.5 Nov 30, 2017
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.

3 participants