Skip to content

Conversation

@ewoutkramer
Copy link
Member

@ewoutkramer ewoutkramer commented Nov 19, 2024

Breaking Changes

In our effort to simplify, this PR removes three ways to navigate down the tree:

  • Base.Children
  • Base.NamedChildren
  • IReadOnlyDictionary/IDictionary.

This also makes sure none of our code is dependent on IDictionary anymore, and we are using "Base" (or ITypedElement) instead to navigate.

Fixes #2927.

⚠️ Review FirelyTeam/fhir-codegen#45 too.

@Kasdejong Kasdejong changed the title Remove Children, NamedChildren en IDictionary Remove Children, NamedChildren and IDictionary Nov 20, 2024
Copy link
Member

@Kasdejong Kasdejong left a comment

Choose a reason for hiding this comment

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

We should document the removal of AsReadOnlyDictionary in the wiki pages. Apart from that, no comments.

# Conflicts:
#	src/Hl7.Fhir.Base/Model/Base.cs
#	src/Hl7.Fhir.Support.Tests/Serialization/TestDictionaryImplementation.cs
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.

3 participants