Commit 7d262ac
committed
feat(datastore): honor schema mode when writing bootstrap data
NewDatastore's bootstrap always wrote schema in legacy per-definition form
regardless of the configured schema mode, so a server reading from the
unified schema would find none. Add a BootstrapSchemaMode option so the
bootstrap datalayer writes schema in the requested mode. The zero value
preserves the prior (legacy) behavior.1 parent 2158060 commit 7d262ac
2 files changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
137 | 140 | | |
138 | 141 | | |
139 | 142 | | |
| |||
482 | 485 | | |
483 | 486 | | |
484 | 487 | | |
485 | | - | |
| 488 | + | |
486 | 489 | | |
487 | 490 | | |
488 | 491 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments