-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Release v1.13.0 * added migration steps for constraint violations --------- Co-authored-by: Chet Joswig <[email protected]>
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# 1.12.0 to 1.13.0 | ||
|
||
This document describes the upgrade instructions from `1.12.0` to `1.13.0`. | ||
|
||
## Update Constraints to Use New Schema | ||
|
||
The shape of violation responses has changed to include additional context information and allow for the implementation of rolling window constraints. The updated graphql shape to query for violations is below. | ||
|
||
```diff | ||
query CheckConstraints($planId: Int!) { | ||
constraintViolations(planId: $planId) { | ||
- violations | ||
+ constraintId | ||
+ constraintName | ||
+ resourceIds | ||
+ type | ||
+ violations { | ||
+ activityInstanceIds | ||
+ windows { | ||
+ end | ||
+ start | ||
+ } | ||
+ } | ||
} | ||
} | ||
``` |
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