Skip to content
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

docs(readme):fix typo #267

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ public class ExecutionContext : CoreEx.ExecutionContext
/// <summary>
/// Gets the list of account (identifiers) that the user has access/permission to.
/// </summary>
public List<string> Accounts { get; } = new();
public List<string> Accounts { get; } = [];
}
6 changes: 3 additions & 3 deletions samples/Cdr.Banking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public class ExecutionContext : CoreEx.ExecutionContext
/// <summary>
/// Gets the list of account (identifiers) that the user has access/permission to.
/// </summary>
public List<string> Accounts { get; } = new();
public List<string> Accounts { get; } = [];
}
```

Expand Down Expand Up @@ -212,10 +212,10 @@ In this case, we are setting this using the code-generation for the operation. T
# Data access will be auto-implemented for Cosmos as defined for the entity.
# Cosmos PartitionKey will be set to the accountId parameter value for data access.
#
{ name: GetTransactions, text: Get transaction for account, type: GetColl, webApiRoute: '{accountId}/ransactions', paging: true, cosmosPartitionKey: accountId,
{ name: GetTransactions, text: Get transaction for account, type: GetColl, webApiRoute: '{accountId}/transactions', paging: true, cosmosPartitionKey: accountId,
parameters: [
# Note usage of ValidatorCode which will inject the code as-is into the validation logic; being a common validator 'Validators.Account' that will perform the authorization check.
{ name: AccountId, type: string, validatorCode: Common(Validators.AccountId), webApiFrom: romRoute, isMandatory: true },
{ name: AccountId, type: string, validatorCode: Common(Validators.AccountId), webApiFrom: FromRoute, isMandatory: true },
{ name: Args, type: TransactionArgs, validator: TransactionArgsValidator }
]
}
Expand Down
Loading