We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 49f90fc + 31c5e2a commit f44475eCopy full SHA for f44475e
CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. This projec
5
6
## Unreleased
7
8
+## [5.2.1] - 2025-10-10
9
+
10
+### Changed
11
12
+- Improve exception message when resource container cannot resolve a value to a JSON:API resource.
13
14
## [5.2.0] - 2025-02-24
15
16
### Added
src/Core/Resources/Container.php
@@ -57,7 +57,7 @@ public function resolve($value)
57
58
throw new LogicException(sprintf(
59
'Unable to resolve %s to a resource object. Check your resource configuration.',
60
- is_object($value) ? get_class($value) : 'non-object value'
+ is_object($value) ? get_class($value) : get_debug_type($value),
61
));
62
}
63
0 commit comments