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

Type error ArrayInformation #5

Closed
michiellucas opened this issue Oct 15, 2022 · 2 comments
Closed

Type error ArrayInformation #5

michiellucas opened this issue Oct 15, 2022 · 2 comments

Comments

@michiellucas
Copy link

JsonMapper\Builders\PropertyBuilder::addType(): Argument #2 ($arrayInformation) must be of type JsonMapper\ValueObjects\ArrayInformation, bool given, called in /var/www/html/vendor/json-mapper/eloquent-middleware/src/EloquentMiddleware.php on line 135

using example: https://jsonmapper.net/docs/middleware/laravel-eloquent/

@DannyvdSluijs
Copy link
Member

I believe this repo was forgotten when JsonMapper/JsonMapper#137 was merged.

Pinning JsonMapper to 2.12.0 should fix the issue for the short term as a workaround. Could you try and let me know?

@michiellucas
Copy link
Author

Thanks, it works now !

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

No branches or pull requests

2 participants