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

Tmds.DBus: MessageReader: while reading '[Dictionary]' also consider camel-case fields. #203

Closed
wants to merge 1 commit into from

Conversation

tmds
Copy link
Owner

@tmds tmds commented Apr 22, 2023

Fixes #190.

This was missing since we've updated the Tool in 0.12.0 to generate camel-case fields in #171.

cc @Echoseven2020

@tmds
Copy link
Owner Author

tmds commented Apr 22, 2023

This was missing since we've updated the Tool in 0.12.0 to generate camel-case fields in #171.

Actually, instead of changing the reader, we should revert #171 because the writer has no way of knowing if it should upper-case the key or not.

note: we could override the key using the PropertyAttribute, but I don't think it's worth adding this attribute to each field for the sake of having camel-cased field names.

cc @DamianSuess

@tmds
Copy link
Owner Author

tmds commented Apr 22, 2023

Closing in favor of #204.

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.

Generated class "NetworkManagerProperties" in NetworkManager.DBus.cs holds only empty values
1 participant