Skip to content

Commit 9f10e62

Browse files
committed
Fix minor doc issues in ADR 187 and ADR 189
Use "in the future" instead of "in future" in ADR 187 for consistent phrasing. Escape pipe characters in ADR 189 table cells to prevent Markdown parser column-count misinterpretation.
1 parent 51e5c04 commit 9f10e62

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/architecture docs/adrs/ADR 187 - MongoDB schema representation for migration diffing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ interface MongoSchemaIR {
9494

9595
An empty IR (for a new project with no prior contract) is `{ collections: {} }`.
9696

97-
A collection groups its indexes (and, in future, its validator and options):
97+
A collection groups its indexes (and, in the future, its validator and options):
9898

9999
```ts
100100
class MongoSchemaCollection extends MongoSchemaNode {

docs/architecture docs/adrs/ADR 189 - Structural index matching for MongoDB migrations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ Two indexes that produce the same lookup key are the same index. For example:
4848

4949
| Index | Lookup key |
5050
| ------------------------------- | ------------------------ |
51-
| `{ email: 1 }`, unique | `email:1|unique` |
51+
| `{ email: 1 }`, unique | `email:1\|unique` |
5252
| `{ email: 1 }`, not unique | `email:1` |
5353
| `{ lastName: 1, firstName: 1 }` | `lastName:1,firstName:1` |
54-
| `{ createdAt: 1 }`, TTL 86400s | `createdAt:1|ttl:86400` |
54+
| `{ createdAt: 1 }`, TTL 86400s | `createdAt:1\|ttl:86400` |
5555

5656

5757
The planner builds a `Map<string, MongoSchemaIndex>` for both origin and destination, then diffs the key sets:

0 commit comments

Comments
 (0)