Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Children, NamedChildren and IDictionary #2973

Merged
merged 6 commits into from
Nov 22, 2024

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
Contributor

@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
@ewoutkramer ewoutkramer merged commit 7fe3b18 into develop-6.0 Nov 22, 2024
16 checks passed
@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