Skip to content

Commit

Permalink
breaking: Remove the deprecated Statistics#value field
Browse files Browse the repository at this point in the history
Instead, you should be using rotationValue
  • Loading branch information
kezz authored Dec 17, 2024
1 parent bf5079a commit 02fded0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -417,13 +417,6 @@ type Party {

"Statistic-related data."
type Statistics {
"Returns the raw value stored for this statistic."
value(
statisticKey: String!
@spectaql(options: [{ key: "example", value: "games_played" }])
): StatisticValueResult
@deprecated(reason: "This value is not backed by a rotation and will be removed. Use `rotationValue` instead.")

"""
Returns the value stored for the given statistic in a rotation.
Expand Down

0 comments on commit 02fded0

Please sign in to comment.