Deprecation warning

Every time a deprecated feature is used in a query or mutation, a warning will be included in the response, as part of the extensions element.

The presence of a warning does not affect the response data. The warning includes a message explaining what is deprecated and what should be used instead, as well as the path to the deprecated feature in the query or mutation.

Here is an example:

Query
query read($cid : Int)
{
   useCompany(no: $cid) 
   {
      generalLedgerAccount(first:2, 
                           sortOrder : {accountNo : ASC}) 
      {
         items 
         {
            accountNo
            name
         }
      }
   }
}
Result
{
   "data": {
      "useCompany": {
         "generalLedgerAccount": {
            "items": [
               {
                  "accountNo": 1000,
                  "name": "Forskning og utvikling"
               },
               {
                  "accountNo": 1020,
                  "name": "Konsesjoner"
               }
            ]
         }            
      }
   },
   "extensions": {
      "warnings": [
         {
            "message": "The argument 'sortOrder' is deprecated and will be removed. Use 'orderBy' instead.",
            "path": [
               "useCompany",
               "generalLedgerAccount"
            ]
         }
      ],
      "vbnxt-trace-id": "83bcb079fb2c8..."
   }
}
Last modified July 10, 2026