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

correct json driver to not force all objects to arrays (in particular… #74

Merged
merged 2 commits into from Nov 22, 2019

Conversation

mintbridge
Copy link
Contributor

@mintbridge mintbridge commented Oct 4, 2019

… when empty), fixes #73

@mintbridge
Copy link
Contributor Author

This is a breaking change as all previous snapshots that relied on the empty objects being cast will now fail

@mintbridge
Copy link
Contributor Author

@freekmurze any thoughts?

@mintbridge
Copy link
Contributor Author

This is working for us, but not sure how to get it into the master branch?

@ThHareau
Copy link

This PR can solve the issue #77 as well

@sebastiandedeyne sebastiandedeyne merged commit 04b5372 into spatie:master Nov 22, 2019
@sebastiandedeyne
Copy link
Member

Looks good, I'm gonna tag a new major version for this 👍

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.

Empty json objects encoded as arrays
3 participants