We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✏️ Describe the bug Abstract data objects are not encrypted and trows error when decrypting
↪️ To Reproduce
abstract class RecordConfig extends Data { public function __construct( public int $tracks, ) {} } class CdRecordConfig extends RecordConfig { public function __construct( int $tracks public int $bytes, ) { parent::__construct($tracks); } } class VinylRecordConfig extends RecordConfig { public function __construct( int $tracks public int $rpm, ) { parent::__construct($tracks); } } class Record extends Model { protected $casts = [ 'config' => RecordConfig::class . ':encrypted', ]; }
✅ Expected behavior Encrypted data
🖥️ Versions
Laravel: 11
The text was updated successfully, but these errors were encountered:
Fixed with 90dd07b
Sorry, something went wrong.
No branches or pull requests
✏️ Describe the bug
Abstract data objects are not encrypted and trows error when decrypting
↪️ To Reproduce
✅ Expected behavior
Encrypted data
🖥️ Versions
Laravel: 11
The text was updated successfully, but these errors were encountered: