Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We skip the icon field during deserialization if it is too long. Previously, we directly tried to deserialize a String<N> and ignored any errors. This means that we also ignored any other errors, e. g. for invalid data types. This patch changes the implementation to first deserialize a string slice and handle errors occuring during the deserialization. Then we check if the string slice fits into String<N> or if we should ignore the value.
- Loading branch information