Skip to content

Commit 48d6c3a

Browse files
authored
feat: deprecate DateTimeType in favor of mll-lab/graphql-php-scalars (#143)
1 parent 451a511 commit 48d6c3a

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -264,14 +264,6 @@ $character = new UnionType(
264264
);
265265
```
266266

267-
### Types
268-
269-
#### 🕰️ DateTime
270-
271-
scalar type that produces `scalar DateTime` in your schema.
272-
273-
[`SimPod\GraphQLUtils\Type\DateTimeType`](https://github.com/simPod/GraphQL-Utils/blob/master/src/Type/DateTimeType.php)
274-
275267
### Error Handling
276268

277269
Extending your exception with `SimPod\GraphQLUtils\Error\Error` forces you to implement `getType()` method.

src/Type/DateTimeType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
use function strpos;
2222
use function substr;
2323

24+
/** @deprecated Use https://github.com/mll-lab/graphql-php-scalars */
2425
class DateTimeType extends CustomScalarType
2526
{
2627
private const NAME = 'DateTime';

0 commit comments

Comments
 (0)