Use VKeys instead of Ofy keys in mutating command (#1682)

* Use VKeys instead of Ofy keys in mutating command

* Add createVKey to ImmutableObject

* Use SQL only VKeys
This commit is contained in:
sarahcaseybot
2022-06-27 17:49:24 -04:00
committed by GitHub
parent 89925f9ff2
commit 2c3279ba95
9 changed files with 24 additions and 365 deletions
@@ -106,9 +106,8 @@ class BillingVKeyTest {
return billingRecurrenceVKey.createVKey();
}
VKey<BillingVKeyTestEntity> createVKey() {
return VKey.create(
BillingVKeyTestEntity.class, id, Key.create(parent, BillingVKeyTestEntity.class, id));
public VKey<BillingVKeyTestEntity> createVKey() {
return VKey.createSql(BillingVKeyTestEntity.class, id);
}
}
}
@@ -96,8 +96,8 @@ class DomainHistoryVKeyTest {
this.domainHistoryVKey = domainHistoryVKey;
}
VKey<TestEntity> createVKey() {
return VKey.create(TestEntity.class, id, Key.create(parent, TestEntity.class, id));
public VKey<TestEntity> createVKey() {
return VKey.createSql(TestEntity.class, id);
}
}
}