We recently updated the DependencyValue implementation, so you can now return both the linked_items and the linked_item_ids for dependency columns when querying through column_values V2.
Please note that the DependencyValue implementation is only available in version 2023-10.
query {
items (ids:[1234567890, 9876543210]) {
column_values {
... on DependencyValue {
linked_item_ids
linked_items
}
}
}
}