Skip to content

Conversation

@ewoutkramer
Copy link
Member

Code generation changes for FirelyTeam/firely-net-sdk#2973

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.

Does this mean no one from the outside will be able to access the IReadOnlyDictionary fields anymore? do we need them in the SDK then? I see they are all internal now

@ewoutkramer
Copy link
Member Author

Does this mean no one from the outside will be able to access the IReadOnlyDictionary fields anymore? do we need them in the SDK then? I see they are all internal now

For now, that is correct. We will have a public interface that we are designing right now that will act as "the" Base interface to navigate to children. But I intend to not have IReadOnlyDictionary return as an interface on the POCO's. It's too noisy, and some frameworks (and debuggers) are tempted to "smart" things with it (like display it as a dictionary in the debugger) that I really don't want to. But let's see what kind of feedback we get when we remove IDictionary ;-)

@ewoutkramer ewoutkramer merged commit 80b621b into dev Nov 20, 2024
@ewoutkramer ewoutkramer deleted the 6.0/2973-remove-children-namedchildren branch November 20, 2024 21:15
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