Skip to content
New issue

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

Use pycrdt's typed containers #302

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

davidbrochart
Copy link
Collaborator

@davidbrochart davidbrochart commented Jan 8, 2025

This uses the new "typed containers" in pycrdt:

They allow to add type annotations to a shared document, that can be used for static type analysis but also for runtime type checking.

@davidbrochart davidbrochart marked this pull request as draft January 8, 2025 12:59
@davidbrochart davidbrochart added the enhancement New feature or request label Jan 8, 2025
@davidbrochart davidbrochart marked this pull request as ready for review January 24, 2025 14:58
@davidbrochart
Copy link
Collaborator Author

How do people feel about this?
Note that this would be a breaking change, because for instance a ydoc.ystate would now be a (typed) YState, instead of an (untyped) Map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant