Skip to content

Conversation

@llakenbr
Copy link

@llakenbr llakenbr commented Jan 11, 2026

Description

Previously, Toonify encoded unimplemented types as 'null'. This PR adds support for tuples and changes the behaviour so that an 'NotImplementedError' is raised for unknown types. Decoding tuples is handled as a list and does not require additional implementation.

Related Issue

Not created

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Testing

  • All tests pass
  • Added new tests for the changes
  • Tested manually with examples

Checklist

  • Code follows the project's style guidelines
  • Self-review completed
  • Documentation updated
  • No new warnings or errors introduced - Added a "NotImplementedError" for not implemented types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant