mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-10 04:13:48 +00:00
Improved usability & security by removing the implicit operator
This commit is contained in:
1 file changed
-2
@@ -8,6 +8,4 @@ public readonly record struct EncryptedText(string EncryptedData)
|
||||
{
|
||||
throw new SecurityException("Please provide the encrypted data.");
|
||||
}
|
||||
|
||||
public static implicit operator string(EncryptedText encryptedText) => encryptedText.EncryptedData;
|
||||
}
|
||||
Reference in new issue
Block a user