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

Added nullable Client object to ChangeLogEntry #281

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

rolandbanks
Copy link
Contributor

Added nullable object "Client" property to ChangeLogEntry.cs entity to prevent deseralization errors during unit tests (and elsewhere where the "GetOrganizationConfigurationChangesAsync") method is used.

There is no information in the Meraki API about what this should contain (though there are 2 properties "id" (probably an int / string) and type.

All tests ran on 3 organizations I have access to returned as follows, so I have left Client as a nullable object for now.
"client":{"id":null,"type":null}}

Note: relevant unit test passed with this change, and failed beforehand.

@danielabbatt danielabbatt merged commit c75ff44 into main Jan 21, 2025
3 of 4 checks passed
@danielabbatt danielabbatt deleted the roland/fix-change-event-log-missing-cllient branch January 21, 2025 09:29
@danielabbatt
Copy link
Contributor

Agreed, the model schema is unclear at this point.

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