Skip to content

udpated schema json to indvidual content type files#2375

Draft
shafeeqd959 wants to merge 3 commits intov2-beta-devfrom
DX-3819
Draft

udpated schema json to indvidual content type files#2375
shafeeqd959 wants to merge 3 commits intov2-beta-devfrom
DX-3819

Conversation

@shafeeqd959
Copy link
Contributor

No description provided.

@shafeeqd959 shafeeqd959 requested a review from aman19K February 3, 2026 11:09
unknown
>[];
// Read content types from individual files
const cTs = readContentTypeSchemas(this.cTsPath);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shafeeqd959 , Already we've intialized at this line . We can directly use this.cTs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is deliberately to done to make sure the source of truth always used for field rules update instead CTs from the in memory, CTS from in memory used in various places if in case data got changed this operation will fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants