Skip to content

Remove Children, NamedChildren and IDictionary - #2973

Merged
ewoutkramer merged 6 commits into
develop-6.0from
6.0/remove-idictionary
Nov 22, 2024
Merged

Remove Children, NamedChildren and IDictionary#2973
ewoutkramer merged 6 commits into
develop-6.0from
6.0/remove-idictionary

Conversation

@ewoutkramer

@ewoutkramer ewoutkramer commented Nov 19, 2024

Copy link
Copy Markdown
Member

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

@Kasdejong Kasdejong left a comment

Copy link
Copy Markdown
Member

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
@ewoutkramer
ewoutkramer merged commit 7fe3b18 into develop-6.0 Nov 22, 2024
@ewoutkramer
ewoutkramer deleted the 6.0/remove-idictionary branch November 22, 2024 11:38
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