-
Notifications
You must be signed in to change notification settings - Fork 45
Reserve __temporal prefix #410
New issue
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
Changes from all commits
30229d1
b127715
4ecc6c5
ac0697d
5573759
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| { | ||
| "FormattingOptions": { | ||
| "EnableEditorConfigSupport": true | ||
| }, | ||
| "RoslynExtensionsOptions": { | ||
| "enableAnalyzersSupport": true | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,11 @@ namespace Temporalio.Runtime | |
| /// </remarks> | ||
| public sealed class TemporalRuntime | ||
| { | ||
| /// <summary> | ||
| /// Prefix for reserved handler and definition names. | ||
| /// </summary> | ||
| internal const string ReservedNamePrefix = "__temporal"; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't it be
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See up here: #410 (comment) Yeah, that's what's written there, but, also that just seems wrong. Probably we should change that spec. |
||
|
|
||
| private static readonly Lazy<TemporalRuntime> LazyDefault = | ||
| new(() => new TemporalRuntime(new TemporalRuntimeOptions())); | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -722,4 +722,4 @@ public override void Heartbeat(HeartbeatInput input) | |
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -424,4 +424,4 @@ internal void OnTaskCompleted(WorkflowInstance instance, Exception? failureExcep | |
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1339,4 +1339,4 @@ public static class Unsafe | |
| public static bool IsReplaying => Context.IsReplaying; | ||
| } | ||
| } | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you remember, am a bit curious where in code this was triggered
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All over. I think it's just a matter of how the default "low" severity shows up in different lang servers. All the low severity stuff shows up in omnisharp, which can be kinda nice to auto fix some stuff sometimes, but, this one is obviously a little silly.