File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
tests/dummy/app/JsonApi/V1 Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class CommentSchema extends Schema
46
46
public function fields (): array
47
47
{
48
48
return [
49
- HashId::make ()->alreadyEncoded (),
49
+ HashId::make ()->alreadyHashed (),
50
50
Str::make ('content ' ),
51
51
DateTime::make ('createdAt ' )->sortable ()->readOnly (),
52
52
BelongsTo::make ('post ' ),
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ class PostSchema extends Schema
62
62
public function fields (): array
63
63
{
64
64
return [
65
- HashId::make ()->alreadyEncoded (),
65
+ HashId::make ()->alreadyHashed (),
66
66
BelongsTo::make ('author ' )->type ('users ' )->readOnly (),
67
67
HasMany::make ('comments ' )->readOnly (),
68
68
Str::make ('content ' ),
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class TagSchema extends Schema
45
45
public function fields (): array
46
46
{
47
47
return [
48
- HashId::make ()->alreadyEncoded (),
48
+ HashId::make ()->alreadyHashed (),
49
49
DateTime::make ('createdAt ' )->sortable ()->readOnly (),
50
50
Str::make ('name ' )->sortable (),
51
51
BelongsToMany::make ('posts ' )
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class UserSchema extends Schema
45
45
public function fields (): array
46
46
{
47
47
return [
48
- HashId::make ()->alreadyEncoded (),
48
+ HashId::make ()->alreadyHashed (),
49
49
DateTime::make ('createdAt ' )->readOnly (),
50
50
Str::make ('name ' ),
51
51
DateTime::make ('updatedAt ' )->readOnly (),
You can’t perform that action at this time.
0 commit comments