mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[PR #573] [MERGED] Vibrancy serialization fix #1218
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ElectronNET/Electron.NET/pull/573
Author: @tantumalice
Created: 6/14/2021
Status: ✅ Merged
Merged: 7/1/2021
Merged by: @GregorBiswanger
Base:
master← Head:serialization-fix📝 Commits (1)
cd9e06dVibrancy serialization fix📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
ElectronNET.API/Entities/Vibrancy.cs(+4 -4)📄 Description
Noticed that Vibrancy serialization works incorrect. It may lead to crash on macOS if incorrectly serialized values are used. I've tested it. Application crashed.
Json property attributes are ignored because they are placed too deep. This changes will fix that.
You may read about custom enum values names serialization here (random article about it) or somewhere else.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.