Skip to content

Commit 1f2a2ee

Browse files
fix: lint and doc
1 parent 7721a9c commit 1f2a2ee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

PluginOptions/Options.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public Options(GenerateRequest generateRequest)
2626
DotnetFramework = DotnetFrameworkExtensions.ParseName(rawOptions.TargetFramework);
2727
Overrides = rawOptions.Overrides ?? [];
2828
WithAsyncSuffix = rawOptions.WithAsyncSuffix;
29-
29+
3030
if (rawOptions.DebugRequest && generateRequest.Settings.Codegen.Wasm is not null)
3131
throw new ArgumentException("Debug request mode cannot be used with WASM plugin");
3232
DebugRequest = rawOptions.DebugRequest;

docs/03_Usage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
| overrideDapperVersion | default:<br/> `2.1.35`<br/>values: The desired Dapper version | Yes | If `useDapper` is set to `true`, this option allows you to override the version of Dapper to be used. |
1212
| Override | values: A nested override value like [this](#override-option). | Yes | Allows you to override the generated C# data types for specific columns in specific queries. This option accepts a `query_name:column_name` mapping and the overriden data type. | |
1313
| useCentralPackageManagement | default: `false`<br/>values: `false`,`true` | Yes | If true, the code is generated to support central package management. |
14+
| withAsyncSuffix | default: `true`<br/>values: `false`,`true` | Yes | When true, async methods will have the "Async" suffix appended to their names (e.g., `GetAuthorAsync`). When false, async methods will not have the suffix (e.g., `GetAuthor`). |
1415

1516
### Override option
1617
Override for a specific query:

0 commit comments

Comments
 (0)