Gwendal Roué
|
1914ace5f9
|
Test as much as possible value observations
|
2020-03-28 13:43:18 +01:00 |
|
Gwendal Roué
|
9866ed1dfc
|
Remove useless change
|
2020-03-27 21:04:23 +01:00 |
|
Gwendal Roué
|
65a347fd98
|
Fix obsolete comment
|
2020-03-27 21:03:01 +01:00 |
|
Gwendal Roué
|
7e50869d39
|
Remove useless change
|
2020-03-27 21:01:34 +01:00 |
|
Gwendal Roué
|
703ce643b5
|
Remove useless change
|
2020-03-27 20:59:38 +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é
|
1580be3883
|
Update tests
|
2020-03-27 08:27:46 +01:00 |
|
Gwendal Roué
|
e68bd077ee
|
Remove all observationForCount/All/First methods
|
2020-03-25 21:44:10 +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é
|
56f332122d
|
The observed region is always recorded
|
2020-03-24 22:59:07 +01:00 |
|
Gwendal Roué
|
e824c70e7d
|
Fix SQLCipher tests
|
2020-03-22 13:46:34 +01:00 |
|
Gwendal Roué
|
7a583e02e8
|
Refactor ValueObservation tests around a common pattern
|
2020-03-22 13:31:05 +01:00 |
|
Gwendal Roué
|
98d381ed67
|
Cleanup
|
2020-03-22 10:27:10 +01:00 |
|
Gwendal Roué
|
e16d29f277
|
More test refactoring with assertValueObservationRecordingMatch
|
2020-03-21 18:44:02 +01:00 |
|
Gwendal Roué
|
6bf322f79e
|
More test refactoring with assertValueObservationRecordingMatch
|
2020-03-21 18:16:35 +01:00 |
|
Gwendal Roué
|
c42aab26e3
|
Remove redundant test
|
2020-03-21 17:48:24 +01:00 |
|
Gwendal Roué
|
e16b320cda
|
More test refactoring with assertValueObservationRecordingMatch
|
2020-03-21 17:42:22 +01:00 |
|
Gwendal Roué
|
9d4bef1c9a
|
More test refactoring with assertValueObservationRecordingMatch
|
2020-03-21 17:04:18 +01:00 |
|
Gwendal Roué
|
b392458c1c
|
More test refactoring with assertValueObservationRecordingMatch
|
2020-03-21 16:23:41 +01:00 |
|
Gwendal Roué
|
031b55eca6
|
More test refactoring with assertValueObservationRecordingMatch
|
2020-03-21 15:50:36 +01:00 |
|
Gwendal Roué
|
3e0486743b
|
More test refactoring with assertValueObservationRecordingMatch
|
2020-03-21 15:21:24 +01:00 |
|
Gwendal Roué
|
7ab9a8b29a
|
More test refactoring with assertValueObservationRecordingMatch
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
22086c088f
|
More test refactoring with assertValueObservationRecordingMatch
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
4ffced0b7b
|
assertValueObservationRecordingMatch
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
ed6673f2f5
|
ValueObservation test refactoring WIP
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
7935168379
|
ValueObservation test refactoring WIP
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
3c891b7ebd
|
ValueObservationRecorder cleanup
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
8f5c7985e5
|
ValueObservationRecorder
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
65b8fbb361
|
Remove useless print() statements
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
1c59278115
|
Prefer dbResult argument name for async read closures
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
dab8e28f6d
|
Merge branch 'master' into GRDB5
# Conflicts:
# GRDB/Migration/DatabaseMigrator.swift
# GRDB/QueryInterface/Request/QueryInterfaceRequest.swift
# README.md
|
2020-03-21 14:35:57 +01:00 |
|
Gwendal Roué
|
c1d1797576
|
Address #725
|
2020-03-18 20:36:56 +01:00 |
|
Gwendal Roué
|
a0faf6aa68
|
Support for nil assignment
|
2020-03-18 19: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é
|
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é
|
f80c5ce348
|
Make the ValueReducer protocol unavailable
# Conflicts:
# GRDB/ValueObservation/ValueReducer/ValueReducer.swift
|
2020-03-11 21:38:20 +01:00 |
|
Gwendal Roué
|
4f74997235
|
Restore old disabled tests for cancelled ValueObservation
|
2020-03-10 22:06:41 +01:00 |
|
Gwendal Roué
|
6f239a5ad3
|
All ValueObservationScheduling cases now trigger an initial fetch
|
2020-03-10 19:42:58 +01:00 |
|
Gwendal Roué
|
4fe201f8aa
|
Merge branch 'development' into GRDB5
|
2020-03-10 19:05:29 +01:00 |
|
Gwendal Roué
|
3973b66ab3
|
Fix and test throwingFirstError
|
2020-03-10 09:16:24 +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é
|
9aa67f9db9
|
SE-0255: Implicit returns from single-expression functions
|
2020-03-08 23:12:46 +01:00 |
|
Gwendal Roué
|
8718d525d4
|
SE-0253: Callable values of user-defined nominal types
|
2020-03-08 20:36:49 +01:00 |
|
Gwendal Roué
|
7865b0a2ee
|
SE-0249: Key Path Expressions as Functions
|
2020-03-08 19:58:51 +01:00 |
|
Gwendal Roué
|
00b0dc2a04
|
Remove availability checks for macOS 10.10 (forgotten in #719)
|
2020-03-08 19:08:15 +01:00 |
|
Gwendal Roué
|
41e0885bce
|
Fix deprecation warning
|
2020-03-08 18:10:02 +01:00 |
|
Gwendal Roué
|
694adcec64
|
Remove other deprecated methods
|
2020-03-08 18:03:11 +01:00 |
|
Gwendal Roué
|
5dd86d2453
|
Remove deprecated ValueObservation methods
|
2020-03-08 17:53:39 +01:00 |
|