Skip to content

Commit a21267e

Browse files
committed
remove experimental annotation from upcaster
1 parent 17916cc commit a21267e

5 files changed

Lines changed: 0 additions & 7 deletions

File tree

docs/upcasting.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ Over time the shape of your stored data drifts away from your classes: fields
44
get renamed, split or merged. Upcasting reshapes the stored array on the fly
55
while it is hydrated, so old payloads keep loading into your current classes
66
without a migration of the underlying storage.
7-
:::experimental
8-
The upcast extension is experimental and may change in a minor release.
9-
:::
107

118
## Setup
129

src/Extension/Upcast/CallbackUpcaster.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use Closure;
88
use Patchlevel\Hydrator\Metadata\ClassMetadata;
99

10-
/** @experimental */
1110
final class CallbackUpcaster implements Upcaster
1211
{
1312
/** @var Closure(array<string, mixed>, array<string, mixed>): array<string, mixed> */

src/Extension/Upcast/UpcastExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use Patchlevel\Hydrator\Extension;
88
use Patchlevel\Hydrator\StackHydratorBuilder;
99

10-
/** @experimental */
1110
final readonly class UpcastExtension implements Extension
1211
{
1312
/**

src/Extension/Upcast/UpcastMiddleware.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Patchlevel\Hydrator\Middleware\Middleware;
99
use Patchlevel\Hydrator\Middleware\Stack;
1010

11-
/** @experimental */
1211
final readonly class UpcastMiddleware implements Middleware
1312
{
1413
/** @param list<Upcaster> $upcasters */

src/Extension/Upcast/Upcaster.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Patchlevel\Hydrator\Metadata\ClassMetadata;
88

9-
/** @experimental */
109
interface Upcaster
1110
{
1211
/**

0 commit comments

Comments
 (0)