We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suppose the following:
enum Gender: Int { case female case male } extension Gender: CerealType { // custom encode and decode }
And encode was called on a variable of type Gender, then the RawRepresentable override version will be called, ignoring the custom serializers.
encode
Gender
I know it's not a huge issue, but it could be fixed by providing an encodeCereal function for example, to explicitly invoke the custom serializers.
encodeCereal
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Suppose the following:
And
encode
was called on a variable of typeGender
, then the RawRepresentable override version will be called, ignoring the custom serializers.I know it's not a huge issue, but it could be fixed by providing an
encodeCereal
function for example, to explicitly invoke the custom serializers.The text was updated successfully, but these errors were encountered: