As part of the ongoing initiative to deprecate legacy global IDs, you will begin to see deprecation warnings for GraphQL node
queries using the legacy ID format.
The deprecation warnings will look like this:
{
"data": {
"node": {
"login": "ahoglund",
}
},
"extensions": {
"warnings": [
{
"type": "DEPRECATION",
"message": "The id MDQ6VXNlcjM0MDczMDM= is deprecated. Update your cache to use the next_global_id from the data payload.",
"data": {
"next_global_id": "U_kgDOADP9xw"
},
"link": "https://docs.github.com"
}
]
}
}
This will not impact the data
portion of the payload. We recommend using these deprecation warnings along with the X-Github-Next-Global-ID
to begin migrating any of your caches that contain legacy IDs. More information on how to migrate can be found in our last update as well as in the GitHub documentation.
If you have any concerns about the rollout of this change impacting your usage of the GitHub GraphQL API, please contact us and include any relevant information, so that we can better assist you.