Gwendal Roué
|
836efb120f
|
Xcode 12.3 formatting
|
2020-12-23 12:13:05 +01:00 |
|
Gwendal Roué
|
46c3839ea0
|
ValueObservation tracks a varying database region by defaut
|
2020-11-07 13:01:51 +01:00 |
|
Gwendal Roué
|
07092169bf
|
Documentation
|
2020-07-12 14:17:58 +02:00 |
|
Gwendal Roué
|
2a640823c7
|
Backport https://github.com/groue/GRDBCombine/pull/42
|
2020-06-28 22:50:37 +02:00 |
|
Gwendal Roué
|
672e10a0ff
|
Add missing imports for SPM
|
2020-06-26 06:36:22 +02:00 |
|
Gwendal Roué
|
a0ce362197
|
Combine publishers
|
2020-06-25 19:25:29 +02:00 |
|
Gwendal Roué
|
3a4ab7a6aa
|
ValueObservation.print() tweaks
|
2020-06-22 19:01:29 +02:00 |
|
Gwendal Roué
|
4e8b231c42
|
Rename handleEvents arguments
|
2020-06-22 14:23:33 +02:00 |
|
Gwendal Roué
|
5c4b282e27
|
Refactor ValueObservation events handling
|
2020-06-21 09:17:12 +02:00 |
|
Gwendal Roué
|
2c90820f0f
|
ValueObservation.handleEvents and .print documentation
|
2020-06-20 20:15:07 +02:00 |
|
Gwendal Roué
|
dd76cdffec
|
ValueObservation.handleEvents
|
2020-06-20 19:57:51 +02:00 |
|
Gwendal Roué
|
4f8b681737
|
Documentation
|
2020-04-11 18:26:42 +02:00 |
|
Gwendal Roué
|
1b4e26f61c
|
Cleanup
|
2020-04-10 12:35:33 +02:00 |
|
Gwendal Roué
|
27120643b9
|
SE-0255: Implicit returns from single-expression functions
|
2020-04-09 17:16:23 +02:00 |
|
Gwendal Roué
|
d72000c6a3
|
Use scheduling paramater name for consistency with GRDBCombine and RxGRDB
|
2020-03-31 20:25:36 +02:00 |
|
Gwendal Roué
|
1bffc4f628
|
ValueObservation is cancellable
|
2020-03-29 16:06:24 +02:00 |
|
Gwendal Roué
|
022fee8788
|
Remove dead code
|
2020-03-27 20:48:12 +01:00 |
|
Gwendal Roué
|
4309eaba64
|
Scheduling of fresh values is no longer an attribute of ValueObservation
|
2020-03-27 19:49:11 +01:00 |
|
Gwendal Roué
|
b4b5d9b602
|
Simplify ValueObservation scheduling
|
2020-03-27 08:27:30 +01:00 |
|
Gwendal Roué
|
e68bd077ee
|
Remove all observationForCount/All/First methods
|
2020-03-25 21:44:10 +01:00 |
|
Gwendal Roué
|
61e74f9ad4
|
ValueObservation.trackingVaryingRegion documentation
|
2020-03-25 08:48:34 +01:00 |
|
Gwendal Roué
|
a647e200d9
|
Replace Never with ValueReducers.Auto
|
2020-03-25 08:19:47 +01:00 |
|
Gwendal Roué
|
294a04e9f6
|
Rename tracking(value:) to tracking(_:)
|
2020-03-25 08:11:43 +01:00 |
|
Gwendal Roué
|
9792edc008
|
Rename trackingVolatile to trackingVaryingRegion
|
2020-03-25 00:13:51 +01:00 |
|
Gwendal Roué
|
121f7be847
|
ValueObservation is now fully based on region recording
And we introduce ValueObservation.trackingVolatile
|
2020-03-24 23:52:05 +01:00 |
|
Gwendal Roué
|
4af7fda4f2
|
Fix outdated documentation
|
2020-03-24 23:49:24 +01:00 |
|
Gwendal Roué
|
56f332122d
|
The observed region is always recorded
|
2020-03-24 22:59:07 +01:00 |
|
Gwendal Roué
|
2b78a646ed
|
Mor preparation for initiial concurrent fetch of ValueObservation in a DatabasePool
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
dfa40ea18f
|
Rename ValueObservation.fetchFirst to fetchValue
"First", in Swift, hints that the result is optional. But the result of this function is no longer optional.
|
2020-03-12 07:34:43 +01:00 |
|
Gwendal Roué
|
936c92eba6
|
All value reducers must emit an initial value
This disqualifies compactMap as a valid ValueObservation transformation: it has been removed.
This simplifies implementation as well.
|
2020-03-12 07:18:40 +01:00 |
|
Gwendal Roué
|
bf3f97b64d
|
Fix compiler warning
|
2020-03-11 22:42:48 +01:00 |
|
Gwendal Roué
|
5e0535d511
|
ValueReducer creation does not need database access
|
2020-03-11 22:00:07 +01:00 |
|
Gwendal Roué
|
b96d71d937
|
Remove public ValueObservation factory methods that accept a _ValueReducer
|
2020-03-11 21:38:48 +01:00 |
|
Gwendal Roué
|
28c32c6af8
|
_ValueReducer is the only protocol accepted by ValueObservation
Also, we now use Never as the bottom reducer which helps us define the ValueObservation factory methods.
|
2020-03-11 21:38:41 +01:00 |
|
Gwendal Roué
|
f80c5ce348
|
Make the ValueReducer protocol unavailable
# Conflicts:
# GRDB/ValueObservation/ValueReducer/ValueReducer.swift
|
2020-03-11 21:38:20 +01:00 |
|
Gwendal Roué
|
9a6d6cf9c0
|
Update documentation for ValueObservation scheduling
|
2020-03-10 22:04:58 +01:00 |
|
Gwendal Roué
|
6f239a5ad3
|
All ValueObservationScheduling cases now trigger an initial fetch
|
2020-03-10 19:42:58 +01:00 |
|
Gwendal Roué
|
2224042114
|
Rename ValueScheduling to ValueObservationScheduling
|
2020-03-10 19:10:38 +01:00 |
|
Gwendal Roué
|
3467376d7a
|
Remove unused ErrorCatcher
|
2020-03-10 08:19:27 +01:00 |
|
Gwendal Roué
|
c70b627f92
|
ValueObservation.start(in:onChange:) is unavailable
Hiding errors from user's sight was not a good idea
|
2020-03-10 08:09:53 +01:00 |
|
Gwendal Roué
|
a770d46843
|
Rename ValueObservation.tracking(fetch:) to ValueObservation.tracking(value:)
|
2019-08-05 09:03:05 +02:00 |
|
Gwendal Roué
|
a5c8f23ba4
|
Support for variable observed region of ValueObservation based on actual selection
|
2019-08-03 16:32:33 +02:00 |
|
Gwendal Roué
|
af0ac156aa
|
More explicit observation initializers
|
2019-08-03 14:21:46 +02:00 |
|
Gwendal Roué
|
df6bb8761c
|
Swiftlint + whitespace
|
2019-07-01 08:57:53 +02:00 |
|
Gwendal Roué
|
44138c433f
|
Refactor ValueObservation scheduling
|
2019-06-11 21:45:27 +02:00 |
|
Gwendal Roué
|
f502db40b0
|
combine instance method
|
2019-06-10 23:24:02 +02:00 |
|
Gwendal Roué
|
86f7ab74a7
|
More ValueReducers namespacing
|
2019-06-10 22:18:20 +02:00 |
|
Gwendal Roué
|
aca4db2c96
|
Move reducers to the ValueReducers namespace
|
2019-06-09 11:43:44 +02:00 |
|
Gwendal Roué
|
da042eaae9
|
Clean up ValueObservation fetching system
|
2019-06-06 19:56:41 +02:00 |
|
Gwendal Roué
|
e966544aeb
|
Remove ValueObservation.extent
|
2019-03-01 13:17:48 +01:00 |
|