Skip to content

Factory failed because of missing json function #52

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

Merged
merged 4 commits into from
Apr 12, 2025

Conversation

comes
Copy link
Contributor

@comes comes commented Apr 12, 2025

Faker didn’t support json() anymore. We need to create a fake json our self now.

Because there is no complex thing going on, it might be good enough to create a random array fake()->sentece(3) and json_encode() our self.

This PR solves this issue.

Reopen #51 , because of some internal github issue.

@comes
Copy link
Contributor Author

comes commented Apr 12, 2025

@bilfeldt , i think you can merge this now.

Copy link
Owner

@bilfeldt bilfeldt left a comment

Choose a reason for hiding this comment

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

Thanks so much @comes

@bilfeldt bilfeldt merged commit cc6a4cf into bilfeldt:main Apr 12, 2025
19 checks passed
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.

2 participants