Skip to content

Commit

Permalink
v6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed May 9, 2023
1 parent 365ad80 commit f092263
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## v6.2.0

### Added

- Add a new scalar `BigInt`

## v6.1.0

### Added
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ A collection of custom scalar types for usage with https://github.com/webonyx/gr
You can use the provided Scalars just like any other type in your schema definition.
Check [SchemaUsageTest](tests/SchemaUsageTest.php) for an example.

### [BigInt](src/BigInt.php)

An arbitrarily long sequence of digits that represents a big integer.

### [Date](src/Date.php)

A date string with format `Y-m-d`, e.g. `2011-05-23`.
Expand Down
3 changes: 1 addition & 2 deletions src/BigInt.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
class BigInt extends Regex
{
public ?string $description = <<<'DESCRIPTION'
A hexadecimal color is specified with: `#RRGGBB`, where `RR` (red), `GG` (green) and `BB` (blue)
are hexadecimal integers between `00` and `FF` specifying the intensity of the color.
An arbitrarily long sequence of digits that represents a big integer.
DESCRIPTION;

public static function regex(): string
Expand Down

0 comments on commit f092263

Please sign in to comment.