-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
response/match: add "NOT" matcher conditions
These are designed to work where, when populated, will act to exclude actions from running against entries. For example, if you wanted to return every entry of a certain amount except for those of a certain CompanyIdentification you'd specify the following matcher. match: amount: 1234 not: companyIdentification: "YourOrg" action: return: code: "R01"
- Loading branch information
Showing
3 changed files
with
159 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,6 +95,7 @@ type Matching struct { | |
|
||
type Response struct { | ||
Match Match | ||
Not Match | ||
Action Action | ||
} | ||
|
||
|