Skip to content

Commit afcf161

Browse files
Abe27342Abram Sanderson
andauthored
chore(tree): Rename to getAllowedContentIncompatibilities to getAllowedContentDiscrepancies (#23087)
## Description Updates several functions and types in `discrepancies.ts` to use the term `Discrepancy` over `Incompatibility`. The general trend I have in mind which is staged for this code is to move policy decisions about schema *compatibility* to the simple-tree layer, whereas this function is a helper that enumerates ways in which two stored schemas are different. The updated naming should help reflect this. --------- Co-authored-by: Abram Sanderson <[email protected]>
1 parent 761f539 commit afcf161

File tree

5 files changed

+158
-166
lines changed

5 files changed

+158
-166
lines changed

packages/dds/tree/src/feature-libraries/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export {
7474
type FieldChangeEncodingContext,
7575
type FieldKindConfiguration,
7676
type FieldKindConfigurationEntry,
77-
getAllowedContentIncompatibilities,
77+
getAllowedContentDiscrepancies,
7878
isRepoSuperset,
7979
isNeverTree,
8080
} from "./modular-schema/index.js";

0 commit comments

Comments
 (0)