We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d6e3f9 commit 029b3caCopy full SHA for 029b3ca
CHANGELOG-1.5.md
@@ -0,0 +1,5 @@
1
+Release note
2
+============
3
+# v1.5.0
4
+### Added
5
+- Struct value type
readme.md
@@ -399,7 +399,8 @@ UserResource::collection(User::all()); // => JsonApiCollection
399
| `date` | Cast to date, allow to use custom format |
400
| `array` | Cast to array |
401
| `mixed` | Don't cast, return as is |
402
-| `enum` | Get enum value. |
+| `enum` | Get enum value |
403
+| `struct` | Custom struct. Accept an array of values |
404
405
### Relation methods
406
| Method | Description |
0 commit comments