696452f4c985665ef00fb604991cc8ea948ca706
[JsonDerivedType] alone (without [JsonPolymorphic]) is sufficient in .NET 8 to activate the built-in PolymorphicTypeResolver, which then throws NotSupportedException because our custom converter does not support metadata reads/writes. Introduce PolyTypeAttribute — a plain internal attribute unknown to the framework — and replace all [JsonDerivedType] usages on Effect, Condition, TriggerEvent, and Filter with [PolyType]. PolymorphicAbilityConverter<T> reads [PolyType] via reflection to build its type map; the framework ignores it entirely. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
Description
No description provided
53 MiB
Languages
C#
52.7%
HTML
24.9%
GDScript
21.2%
CSS
0.8%
Python
0.3%
Other
0.1%