---
# System prepended metadata

title: 'Alloctations: Rollout'
tags: [allocations]

---

---
title: "Alloctations: Rollout"
tags: allocations
---

# Data Rollout

## Phase 1: prepare

- fix small tech debt
- remove unused code (from API and Dashboard)
- add "behavior" tests
- extract webhooks and GQL API

## Phase 2: execute

- refactor resolvers ([think about CQS](https://www.apollographql.com/blog/apollo-client/architecture/client-side-architecture-basics/#principle-1-cqs-command-query-separation))
    - refactor queries
    - refactor mutations
    - refactor dashboard

## Phase 3: migrate

- migrate data to new data model
- update GQL API to new data model