Skip to content

Commit

Permalink
test: RequestConfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
Milena-Czierlinski committed Sep 12, 2024
1 parent ce3245c commit fb44c78
Show file tree
Hide file tree
Showing 2 changed files with 850 additions and 190 deletions.
1 change: 1 addition & 0 deletions packages/runtime/src/modules/DeciderModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export class DeciderModule extends RuntimeModule<DeciderModuleConfiguration> {
}
}

// TODO: we could add a validation that the requestConfig itself is valid too, e.g. if an IdentityAttribute is expected, it doesn't have properties of a RelationshipAttribute set
public validateAutomationConfig(requestConfig: RequestConfig, responseConfig: ResponseConfig): boolean {
if (isRejectResponseConfig(responseConfig)) return true;

Expand Down
Loading

0 comments on commit fb44c78

Please sign in to comment.