Skip to content

Commit

Permalink
Merge branch 'release/v0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
betterthanclay committed Dec 12, 2023
2 parents d0ee745 + 48848c2 commit 0a7ada9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
## v0.1.1 (2023-12-12)
* Added date as Carbon type
* Pass Cipher payload as JWT wrapper argument

## v0.1.0 (2023-12-08)
* Built initial implementation
2 changes: 1 addition & 1 deletion src/Indoctrination/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public function withJwt(
SQL
);

return $callback($entityManager);
return $callback($entityManager, $payload);
});
}

Expand Down
1 change: 1 addition & 0 deletions src/Indoctrination/Extension/Carbon.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function loadGlobal(): void
);
}

Type::overrideType('date', DateTimeType::class);
Type::overrideType('datetime', DateTimeType::class);
Type::overrideType('datetime_immutable', DateTimeImmutableType::class);
}
Expand Down

0 comments on commit 0a7ada9

Please sign in to comment.