You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* clean up and optimize actor name validation. (#6919)
* * clean up and optimize actor name validation.
* Change ValidSymbols const to public (referenced in docs) and add unit test
* Fix API Approval list
---------
Co-authored-by: Gregorius Soedharmo <[email protected]>
if(name.Length==0)thrownewInvalidActorNameException("Actor name must not be empty.");
422
418
if(!ActorPath.IsValidPathElement(name))
423
419
{
424
-
thrownewInvalidActorNameException($"Illegal actor name [{name}]. Actor paths MUST: not start with `$`, include only ASCII letters and can only contain these special characters: ${newstring(ActorPath.ValidSymbols)}.");
420
+
thrownewInvalidActorNameException($"Illegal actor name [{name}]. {ActorPath.ValidActorNameDescription}");
$"Illegal actor name [{t}] in deployment [${d.Path}]. Actor paths MUST: not start with `$`, include only ASCII letters and can only contain these special characters: ${newstring(ActorPath.ValidSymbols)}.");
100
+
$"Illegal actor name [{t}] in deployment [${d.Path}]. {ActorPath.ValidActorNameDescription}");
0 commit comments