mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-05-03 09:39:47 +00:00
Improved usability & security by removing the implicit operator
This commit is contained in:
parent
127191abc2
commit
a95cfc5ac8
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user