Commit Graph

449 Commits (ddd9a4dec50aa71319be216ac301a042bc25e819)

Author SHA1 Message Date
Vinícius Garcia 8cba3efa2d Refactor modifiers so it is represented by a struct 2022-09-26 01:37:23 -03:00
Vinícius Garcia 7661ba0314 Try to fix CI again 2022-09-24 11:57:20 -03:00
Vinícius Garcia 3a0e9b6da3 Try to fix CI 2022-09-24 11:51:21 -03:00
Vinícius Garcia 9e94445cdc Add tests to the modifiers package 2022-09-23 22:49:41 -03:00
Vinícius Garcia 41f4d5487b Refactor modifiers into its own package 2022-09-21 22:30:20 -03:00
Vinícius Garcia cb15295e46 Rename serializers to modifiers 2022-09-21 21:38:30 -03:00
Vinícius Garcia a5b33135d1 Minor fix to README file 2022-09-19 23:32:59 -03:00
Vinícius Garcia f95cd2b7b2 Refactor code so that users can add their own serializers 2022-09-14 23:03:33 -03:00
Vinícius Garcia 67ad75242a Improve some error messages 2022-08-27 12:33:18 -03:00
Vinícius Garcia 86dd623eac Improve some error messages 2022-08-27 12:28:39 -03:00
Vinícius Garcia 8620600d01 Revert "Decouple ksql.DB from TagInfoCache so we can replace it during tests"
This reverts commit 74cb87bea0.

This was done because I noticed this first commit was unnecessary.

This original commit was written in order to allow tests where
the cache would return errors, but I noticed there is a way
of provoking these errors without the need of an extra layer
of abstraction.

Thus, in order to keep the code simpler and also avoid an extra
level of indirection I am undoing this change.
2022-08-27 12:18:02 -03:00
Vinícius Garcia 4b37adc905 Add more tests to ksql.Query() 2022-08-27 12:16:46 -03:00
Vinícius Garcia 74cb87bea0 Decouple ksql.DB from TagInfoCache so we can replace it during tests 2022-08-24 22:45:24 -03:00
Vinícius Garcia 0e95506343 Force CI to rerun because I reused the codecov token by mistake 2022-08-12 09:49:28 -03:00
Vinícius Garcia 56c1ed54da
Merge pull request #26 from mohamedallam1991/patch-1
Adding badges, Go reference, and report card
2022-08-10 16:39:41 -03:00
Vinícius Garcia b08934f34e
Merge pull request #27 from mohamedallam1991/patch-2
Type in communication
2022-08-10 16:38:31 -03:00
Mohamed Allam f155607beb
Type in communication
A type in the word "communication" in the description.
2022-08-10 20:26:45 +01:00
Mohamed Allam 96dc1a5c53
Adding badges, Go reference, and report card
Go report card and Go reference

[Go report card](https://goreportcard.com/report/github.com/vingarcia/ksql)
[Go Reference](https://pkg.go.dev/github.com/vingarcia/ksql)
2022-08-10 20:20:08 +01:00
Vinícius Garcia d73528bd8b Add tests for the .Close() method 2022-08-03 21:21:31 -03:00
Vinícius Garcia 45d8ef4491 Finishes testing all error cases in the .Transaction() method 2022-08-03 21:05:20 -03:00
Vinícius Garcia 25e77f3f36 Improve code coverage for .Transaction() 2022-08-03 20:58:09 -03:00
Vinícius Garcia a8dcbd1aaa Add internal_mocks.go to codecov ignore list 2022-08-03 20:57:31 -03:00
Vinícius Garcia 06b8855621 Improve test coverate on .Transaction() 2022-08-03 20:46:32 -03:00
Vinícius Garcia b5f2deac02 Add a few more tests to Transaction 2022-08-03 20:11:05 -03:00
Vinícius Garcia eb1f85f8bb Remove test_adapters.go from codecov.yaml 2022-08-01 09:48:51 -03:00
Vinícius Garcia 84d523967b Improve godoc for Transaction method 2022-08-01 09:35:12 -03:00
Vinícius Garcia c9a73d8ad1 Update README 2022-07-31 12:18:43 -03:00
Vinícius Garcia 9161634e7b Minor fix to README 2022-07-27 14:07:24 -03:00
Vinícius Garcia b088ae0d26 Update README to include benchmark for sqlboiler 2022-07-26 23:41:56 -03:00
Vinícius Garcia 3d34bae47e Add sqlboiler to benchmarks 2022-07-26 23:20:23 -03:00
Vinícius Garcia ed1e5ec27d Minor refactor on benchmarks organization 2022-07-26 22:17:25 -03:00
Vinícius Garcia 33e0918c14 Update README with benchmarks for sqlc/prep-stmt 2022-07-26 21:54:11 -03:00
Vinícius Garcia fc1b4d9a3b Add sqlc/prep-stmt to Benchmark 2022-07-26 21:52:54 -03:00
Vinícius Garcia 62a19e30ac Update README with sqlc benchmark 2022-07-26 20:56:39 -03:00
Vinícius Garcia 12c774a26f Add sqlc to benchmarks 2022-07-26 20:54:28 -03:00
Vinícius Garcia b710dd7559 Minor update to README 2022-07-26 19:55:32 -03:00
Vinícius Garcia 8fdd674c1b Improve `make update` recipe 2022-07-25 23:56:37 -03:00
Vinícius Garcia bb14677c4c Update README TODO section 2022-07-25 23:53:30 -03:00
Vinícius Garcia 752e6bb0a1 Add some tests for the Patch function with composite keys 2022-07-25 23:47:06 -03:00
Vinícius Garcia dc345c501b Minor refactor on tests 2022-07-25 23:04:41 -03:00
Vinícius Garcia 0425eb1123 Add test for Patch with composite keys 2022-07-25 22:49:51 -03:00
Vinícius Garcia 5328be8564 Add more tests to Delete 2022-07-25 19:59:36 -03:00
Vinícius Garcia a269036a11 Update Makefile update recipe to also push new tags for all adapters 2022-07-19 18:47:01 -03:00
Vinícius Garcia 32470ddce4 Update adapters to use latest ksql version 2022-07-19 14:15:48 -03:00
Vinícius Garcia 7ec3ef011d Remove dependency on ditointernet/go-assert 2022-07-16 13:31:38 -03:00
Vinícius Garcia 19429143d1
Merge pull request #24 from jadson-medeiros/change-test-lib-reference
Change the test lib reference
2022-07-10 11:53:32 -03:00
Jadson Medeiros e464f3b6ea chenged reference from assert.NotEqual to tt.AssertNotEqual 2022-07-06 21:53:23 -03:00
Jadson Medeiros 985254ad3e applied new refactor to test lib 2022-07-06 21:43:17 -03:00
Jadson Medeiros 8a5e748330 Merge branch 'master' of https://github.com/VinGarcia/ksql into change-test-lib-reference 2022-07-06 21:16:08 -03:00
Vinícius Garcia 7adc6473b7 Update sqlserver version to see if it will work on Mac M1 2022-07-06 21:06:40 -03:00