Skip to content

Support for CDA view of entities#4

Merged
cvidmar merged 3 commits intomainfrom
feature/cdaview
Mar 5, 2026
Merged

Support for CDA view of entities#4
cvidmar merged 3 commits intomainfrom
feature/cdaview

Conversation

@cvidmar
Copy link
Copy Markdown
Contributor

@cvidmar cvidmar commented Mar 4, 2026

Description

Add a CDA view of entitites, allowing for extraction of published field values and versions and comparison with the CMA version of the entities

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📝 Documentation
  • ♻️ Refactoring
  • ⚡ Performance
  • ✅ Tests
  • 🔧 Build/CI

Related Issue

Changes

  • Add dual CMA/CDA loading: when a CDA key is provided, published snapshots are fetched and attached to each entity via HasCDAView() / CDAView(), enabling draft-vs-published comparisons without extra API calls
  • Add Config.SkipAssets option to skip loading assets entirely, saving time and bandwidth for entry-only migrations
  • Add FilterHasCDAView() and FilterNoCDAView() filters
  • Add IsFieldNullOrEmpty()
  • Add GetReferrerPath()
  • Update README and CLAUDE.md with new features

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my own code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.

Notes

Full backward compatibility

@cvidmar cvidmar requested a review from franklinkim March 4, 2026 16:59
@cvidmar cvidmar merged commit a0ae1c9 into main Mar 5, 2026
1 check passed
@cvidmar cvidmar deleted the feature/cdaview branch March 5, 2026 08:31
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