Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

added JsonProperty annotations for 1.x compatibility #202

Merged
merged 2 commits into from
Jul 3, 2021
Merged

added JsonProperty annotations for 1.x compatibility #202

merged 2 commits into from
Jul 3, 2021

Conversation

dittodhole
Copy link
Contributor

@dittodhole
Copy link
Contributor Author

dittodhole commented Mar 15, 2021

One can easily achieve compatibility with 1.x releases with:

var dataSizeInBytes = getDatabaseResponse.Sizes?.Active ?? getDatabaseResponse.DataSize;
var diskSizeInBytes = getDatabaseResponse.Sizes?.File ?? getDatabaseResponse.DiskSize;

@danielwertheim danielwertheim merged commit def6365 into danielwertheim:master Jul 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants