Breaking Change: Release 2025.52 — Unique AI Documentation

Breaking Change: Release 2025.52

1 min read

With release 2025.52 our internal GraphQL API will have some breaking changes due to the upgrade of our DB ORM packages, which brought significant performance improvements.

Timeline

What's changing

For some models/fields, the orderBy input shape has changed. Sorting on nullable/optional fields now requires a nested object format.

What error will I see?

If you use the old format for affected fields, requests will fail with:

Variable "$orderBy" got invalid value "asc" at "orderBy.firstName";
Expected type "SortOrderInput" to be an object.

Migration

orderBy: [{ firstName: asc }]
orderBy: [{ firstName: { sort: asc } }]

Which fields are NOT affected?

Required fields (non-nullable) still use the old format:

Only nullable fields (marked with ? in our db model) require the new format.

Testing

  1. Identify queries/mutations that use orderBy
  2. Check if you're sorting on nullable fields (see list below)
  3. Update to use { sort: <direction> } format
  4. Test in [staging environment if available]

| Author | |