Commit Graph

85 Commits

Author SHA1 Message Date
Kyle
0b4f638cb9
feat: factor connection factory into Sqlite package
BREAKING CHANGE: The previous abstraction was confusing/misleading and was forcefully registering all connections as transient.

These changes invert the relationship a bit and change the injectable INonTransactionalDbConnection<TConnectionType> into scoped. It also allows us to provide an explicit connection factory for Sqlite and an extension method that's easier to use while preserving the very slim nature of the core data access package.
2024-07-11 20:12:07 -04:00
github-actions[bot]
7482f08b4f chore(release): 1.12.1 2024-07-06 03:07:00 +00:00
Kyle
2fd363d4b4
deps: bump deps 2024-07-05 23:06:22 -04:00
github-actions[bot]
bf02139d64 chore(release): 1.12.0 2024-07-06 02:37:45 +00:00
Kyle
d745706082
feat: add FSharp database abstraction layer
I don't love having separate modules for ReadOnly vs. ReadWrite connections, but F# doesn't support covariance, so this is the best I could come up with for now.
2024-07-05 22:35:45 -04:00
github-actions[bot]
44b978309a chore(release): 1.11.0 2024-07-06 00:06:32 +00:00
Kyle
6cbccd3d7d
feat: add data access DI helper 2024-07-05 20:03:12 -04:00
github-actions[bot]
d079f12b16 chore(release): 1.10.0 2024-06-24 02:46:18 +00:00
Kyle Ratti
90c0740778
fix: add missing version node 2024-06-23 22:45:06 -04:00
Kyle Ratti
e5ddf60850
deps: upgrade deps 2024-06-23 22:41:02 -04:00
Kyle Ratti
df73060f99
ci: include data access in publish 2024-06-23 22:41:02 -04:00
Kyle Ratti
f169ca3287
fix: include license file 2024-06-23 22:29:43 -04:00
Kyle Ratti
1266932d4e
feat: make data access layer generic 2024-06-23 22:27:05 -04:00
Kyle Ratti
2242fe8733
feat: multi target .NET 6 and .NET 8 2024-06-23 18:27:45 -04:00
Kyle Ratti
2e2dc40cfb
test: DbConnectionFactory 2024-06-23 18:25:03 -04:00
Kyle Ratti
de8e30dbb4
feat: initial port of data access 2024-06-23 18:15:32 -04:00
github-actions[bot]
720340f0dd chore(release): 1.9.0
Some checks failed
ci / build (6.0.x) (push) Has been cancelled
ci / build (8.0.x) (push) Has been cancelled
2024-05-03 22:26:53 +00:00
Kyle Ratti
ec4dedfbdb
chore: remove useless tests 2024-05-03 18:26:22 -04:00
Kyle Ratti
055805fd5c
deps: upgrade versionize 2024-05-03 18:23:57 -04:00
Kyle Ratti
118e2a3a7a
ci: drop .NET 7 2024-05-03 18:21:22 -04:00
Kyle Ratti
190db94602
feat: specify ConfigureAwait(false) on async calls 2024-05-03 18:17:44 -04:00
Kyle Ratti
04f94c2441
feat: add cancellation token support to DbDataReaderExtensions 2024-05-03 18:16:00 -04:00
Kyle Ratti
35d1742f00
feat: add async extensions support for DbDataReader 2024-05-03 18:08:35 -04:00
Kyle Ratti
c8f7538677
test: 100% coverage of DataReaderMaybeExtensions 2024-05-03 17:24:56 -04:00
Kyle Ratti
b1578d414c
test: cover additional Maybe extension methods 2024-05-03 17:14:30 -04:00
Kyle Ratti
d2a5e2850b
BREAKING CHANGE: chore: remove byte helper 2024-05-03 17:09:21 -04:00
Kyle Ratti
5504a765dc
BREAKING CHANGE: feat: use record struct for OneOf 2024-05-03 17:07:44 -04:00
Kyle Ratti
c61590f26f
test: 100% test coverage of Result<TSuccess, TFailure> 2024-05-03 17:07:19 -04:00
Kyle Ratti
1be0893d19
BREAKING CHANGE: feat: use record struct for Result 2024-05-03 17:06:55 -04:00
Kyle Ratti
c5d2de1f4a
test: 100% coverage of FsBase 2024-05-03 00:54:10 -04:00
Kyle Ratti
b6f2ef3aa6
feat: add Maybe.TryParse 2024-05-03 00:27:31 -04:00
Kyle Ratti
b07f31f75f
test: achieve 100% coverage of Maybe 2024-04-30 14:17:54 -04:00
Kyle Ratti
12b2764a03
chore: add NUnit Analyzers 2024-04-30 13:41:02 -04:00
Kyle Ratti
1ad8e46ab5
deps: upgrade to NUnit 4 2024-04-30 13:39:53 -04:00
Kyle Ratti
d4d0469858
BREAKING CHANGE: build: drop support for .NET 7 2024-04-30 13:36:47 -04:00
Kyle Ratti
69d582c0ed
BREAKING CHANGE: feat: use 'is empty' instead of 'has value' 2024-04-30 13:36:31 -04:00
Kyle Ratti
479b30b60a
BREAKING CHANGE: chore: rename Maybe.Just to Maybe.Create
This was a bad AI suggestion and I regret the decision.
2024-04-30 13:18:51 -04:00
Kyle Ratti
68f527ec99
BREAKING CHANGE: feat: use record struct 2024-04-30 13:17:02 -04:00
github-actions[bot]
07c89cade3 chore(release): 1.8.1 2024-02-08 01:59:40 +00:00
Kyle Ratti
a56a4ff5f2
fix: handle nullable value types in Maybe.Cast 2024-02-07 20:59:00 -05:00
github-actions[bot]
d69441984f chore(release): 1.8.0 2023-12-25 19:39:32 +00:00
Kyle Ratti
8e007975f6
feat: Maybe<T>.EmptyBind 2023-12-25 14:38:01 -05:00
github-actions[bot]
35d78ee0a5 chore(release): 1.7.0 2023-12-25 03:37:48 +00:00
Kyle Ratti
de8d2f393c
feat: IEnumerable<T>.ConditionalAppend(Maybe<T>) 2023-12-24 22:35:59 -05:00
github-actions[bot]
b59b5655bf chore(release): 1.6.0 2023-12-25 02:13:23 +00:00
Kyle Ratti
572c365725
feat: T?.AsMaybe() for reference types 2023-12-24 21:11:25 -05:00
github-actions[bot]
1d2a15189b chore(release): 1.5.2 2023-12-20 02:50:25 +00:00
Kyle Ratti
b958542534
fix: rename IDictionary.TryGet to TryGetValue
This resolves ambiguous invocation errors
2023-12-19 21:48:10 -05:00
github-actions[bot]
d264505649 chore(release): 1.5.1 2023-12-17 18:50:18 +00:00
Kyle Ratti
ef3a54eae7
fix: use correct signature on bind 2023-12-17 13:47:16 -05:00