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
Copy file name to clipboardExpand all lines: src/IntelliTect.Coalesce.Analyzer/AnalyzerReleases.Shipped.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ COA0010 | Usage | Error | Save-related methods should not be overridden when the
20
20
COA0011 | Usage | Error | Delete-related methods should not be overridden when the containing model has Delete attribute set to DenyAll, as these methods will never be called.
21
21
COA0012 | Usage | Warning | Ordering operations (OrderBy, OrderByDescending, ThenBy, ThenByDescending) applied to queries returned from GetQuery methods may be overridden by client-specified sorting. Consider moving the ordering logic to ApplyListDefaultSorting or using [DefaultOrderBy] attributes on model properties.
22
22
COA0013 | Usage | Error | Types can only have one of the following: [Service], [StandaloneEntity], [SimpleModel] attributes, or inherit from DbContext, IDataSource<T>, IBehaviors<T>, or IClassDto<T>.
23
+
COA0014 | Usage | Warning | NoAutoInclude only affects navigation properties (objects or collections). It has no effect on simple data properties like strings, numbers, or dates.
23
24
COA0201 | Usage | Info | IFile parameters on Coalesce-exposed methods should specify suggested file types using the [FileType] attribute to improve default user experience.
24
25
COA1001 | Style | Info | ItemResult and ItemResult<T> constructors can often be replaced with implicit conversions from boolean, string, and object values. This provides cleaner, more readable code while maintaining the same functionality.
25
26
COA1002 | Style | Hidden | Marks the unnecessary parts of ItemResult constructor calls that can be removed when using implicit conversions. This diagnostic helps IDE syntax highlighting identify which portions of the code will be simplified by the COA1001 code fix.
Copy file name to clipboardExpand all lines: src/IntelliTect.Coalesce.Analyzer/Analyzers/AttributeUsageAnalyzer.cs
+57-1Lines changed: 57 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -86,14 +86,25 @@ public class AttributeUsageAnalyzer : DiagnosticAnalyzer
86
86
isEnabledByDefault:true,
87
87
description:"Types can only have one of the following: [Service], [StandaloneEntity], [SimpleModel] attributes, or inherit from DbContext, IDataSource<T>, IBehaviors<T>, or IClassDto<T>.");
title:"NoAutoInclude has no effect on non-object properties",
92
+
messageFormat:"NoAutoInclude has no effect on non-object properties",
93
+
category:"Usage",
94
+
defaultSeverity:DiagnosticSeverity.Warning,
95
+
isEnabledByDefault:true,
96
+
customTags:[WellKnownDiagnosticTags.Unnecessary],
97
+
description:"NoAutoInclude only affects navigation properties (objects or collections). It has no effect on simple data properties like strings, numbers, or dates.");
0 commit comments