Open Collective
Open Collective
[Breaking change] Removing some deprecated fields from our GraphQL API
Published on September 26, 2022 by Benjamin Piouffle

We'll be removing some deprecated fields from our public GraphQL API in the next few days. The update includes:
  • Remove "kinds" in favor "kind" (singular) when used as an argument
  • Remove "Expense.attachments" in favor of "Expense.items"
  • Remove "Account.balance" in favor of "Account.stats.balance"
  • Remove "from"/"to" in favor of "dateFrom"/"dateTo" for "hostMetrics"
  • Remove "ContributionStats.contributionAmountOverTime"
  • Remove "parentCollective" in favor of "parent" for events
  • Remove the "editHostPlan" mutation
  • Remove "GuestInfoInput.token"
  • Remove "PaypalPaymentInput.isNewApi"

For a detailed list of the changes, see https://github.com/opencollective/opencollective-api/pull/7941/files#diff-aba2e7c694c92c4f42db951085c88288f37c66ab9e9e40e8b1cbb2969bf0be56

Please comment on this update if you need more time to update.
👍️  1🚀  1

Benjamin Piouffle

Posted on October 10, 2022

Deploying this today!