Skip to content

Commit

Permalink
[add-ascii-string-blameable] Allow ascii_string to validTypes (#2802)
Browse files Browse the repository at this point in the history
* Add ascii_string to validTypes

* Update unreleased

* Add ascii_string to validTypes

* Update unreleased
  • Loading branch information
Nirator78 authored Jun 9, 2024
1 parent 132410b commit d98fbd4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ a release.
---

## [Unreleased]
### Added
- Blameable: Added UUID in allowed types list for Blameable fields in Annotation
- Blameable: Allow ascii_string to validTypes (issue #2726)
- Sluggable: Allow ascii_string to validTypes
- IpTraceable: Allow ascii_string to validTypes

## [3.15.0]
### Added
Expand Down
1 change: 1 addition & 0 deletions src/Blameable/Mapping/Driver/Annotation.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class Annotation extends AbstractAnnotationDriver
'int',
'ulid',
'uuid',
'ascii_string',
];

public function readExtendedMetadata($meta, array &$config)
Expand Down
1 change: 1 addition & 0 deletions src/IpTraceable/Mapping/Driver/Annotation.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class Annotation extends AbstractAnnotationDriver
*/
protected $validTypes = [
'string',
'ascii_string',
];

public function readExtendedMetadata($meta, array &$config)
Expand Down
1 change: 1 addition & 0 deletions src/Sluggable/Mapping/Driver/Annotation.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class Annotation extends AbstractAnnotationDriver
'datetimetz',
'datetimetz_immutable',
'citext',
'ascii_string',
];

public function readExtendedMetadata($meta, array &$config)
Expand Down

0 comments on commit d98fbd4

Please sign in to comment.