PolymerLabs / arcs

Arcs
BSD 3-Clause "New" or "Revised" License
56 stars 35 forks source link

Replaces the childKeyWithComponent method on StorageKey with newKeyWithComponent. #7109

Closed copybara-service[bot] closed 3 years ago

copybara-service[bot] commented 3 years ago

Replaces the childKeyWithComponent method on StorageKey with newKeyWithComponent.

This is used to generate much shorter database storage keys using random strings, e.g.

Before: d|96302def4fe17225bdf455a730cd20a62c7cb29c@arcs/FeedbackBatch/E@qrV5cQv

After: d|96302def4fe17225bdf455a730cd20a62c7cb29c@arcs/E@qrV5cQv

(The schema hash will be removed in a follow up CL too)

When the flag is disabled, the old behaviour of appending the new component is preserved.