You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when a CastableType doesn't exist, Gw2Sharp throws an exception like System.Text.Json.JsonException: Unsupported type Quux. This is unhelpful when new content gets added, because this requires an update of Gw2Sharp before stuff works again.
This checking should be less strict. If a type doesn't exist, the base class should be used instead. There should be an option to enable strict type casting (useful for testing), but the default should be set to false.
Currently when a CastableType doesn't exist, Gw2Sharp throws an exception like
System.Text.Json.JsonException: Unsupported type Quux
. This is unhelpful when new content gets added, because this requires an update of Gw2Sharp before stuff works again.This checking should be less strict.
If a type doesn't exist, the base class should be used instead. There should be an option to enable strict type casting (useful for testing), but the default should be set to false.Ref #117
The text was updated successfully, but these errors were encountered: