go-gorm / bigquery

BigQuery golang sql driver/GORM dialect
MIT License
42 stars 23 forks source link

Update to work with GORM v1.22+ #4

Closed danhunsaker closed 2 years ago

danhunsaker commented 2 years ago

What did this pull request do?

A recent refactor broke BigQuery support in a big way by moving a callback.Config option into another. This commit updates the driver to use the new callback.Config option instead.

* Why No Testing?

The tests, as written here, cannot be run locally by anyone without the same creds used by the project creator. The refactor needed to fix this is beyond the scope of the change being introduced by so much that it wasn't actually made, here. Please run the tests with the correct creds before merging.