mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-12-18 14:47:15 +00:00
remove deprecations
This commit is contained in:
parent
a3e975b2ba
commit
c1c33cceb1
@ -50,14 +50,6 @@ abstract class AbstractExposedWriteCRUDRepo<ObjectType, IdType, InputValueType>(
|
||||
val id = createAndInsertId(value, it)
|
||||
update(id, value, it as UpdateBuilder<Int>)
|
||||
}
|
||||
@Deprecated(
|
||||
"Replace its \"it\" parameter type with \"UpdateBuilder<Int>\" to actualize method signature. Method with current signature will be removed soon and do not recommended to override anymore"
|
||||
)
|
||||
protected open fun update(id: IdType, value: InputValueType, it: UpdateStatement) = update(
|
||||
id,
|
||||
value,
|
||||
it as UpdateBuilder<Int>
|
||||
)
|
||||
|
||||
protected open suspend fun onBeforeCreate(value: List<InputValueType>) {}
|
||||
|
||||
|
@ -27,15 +27,6 @@ abstract class AbstractExposedKeyValueRepo<Key, Value>(
|
||||
update(k, v, it as UpdateBuilder<Int>)
|
||||
}
|
||||
|
||||
@Deprecated(
|
||||
"Replace its \"it\" parameter type with \"UpdateBuilder<Int>\" to actualize method signature. Method with current signature will be removed soon and do not recommended to override anymore"
|
||||
)
|
||||
protected open fun update(k: Key, v: Value, it: UpdateStatement) = update(
|
||||
k,
|
||||
v,
|
||||
it as UpdateBuilder<Int>
|
||||
)
|
||||
|
||||
override suspend fun set(toSet: Map<Key, Value>) {
|
||||
transaction(database) {
|
||||
toSet.mapNotNull { (k, v) ->
|
||||
|
Loading…
Reference in New Issue
Block a user