linear / linear

Tools, SDK's and plugins for Linear

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`issueSortOrderDefaultToBottomfield` Breaking change in API broke the SDK

philippeauriach opened this issue Β· comments

Hello πŸ‘‹πŸ»
Since a few hours, the breaking change in the API (see https://studio.apollographql.com/public/Linear-API/variant/current/changelog removing issueSortOrderDefaultToBottomfield) broke our integrations, even if we don't actually query this field, we get the error

message: 'Cannot query field "issueSortOrderDefaultToBottom" on type "Team".'

When running

const team = await issue.team;

(we do not pass specific options such as issueSortOrderDefaultToBottomfield)

It seems that the SDK is waiting for a release on this pull request: #461, maybe it will fix our issue?

Anything we could do to help this release ?

Hi @philippeauriach

We have updated the SDK to build against the latest schema. Can you try with 16.0.0 to see if it fixes your issue ?

Additionally, we have added back issueSortOrderDefaultToBottom field, as a deprecated field. This should fix the problem without requiring you to update to the latest version of the SDK.

Please let us know if you still encounter any issues.

Thanks, seems to be working again !