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

StableBTreeMap should be a class #2355

Closed
3 tasks done
Tracked by #2053
lastmjs opened this issue Dec 18, 2024 · 0 comments · Fixed by #2363
Closed
3 tasks done
Tracked by #2053

StableBTreeMap should be a class #2355

lastmjs opened this issue Dec 18, 2024 · 0 comments · Fixed by #2363
Assignees
Milestone

Comments

@lastmjs
Copy link
Member

lastmjs commented Dec 18, 2024

StableBTreeMap is currently a function...make it a class (i.e. new StableBTreeMap(0)). Once it is a class, you might be able to get rid of some unfortunate TypeScript type repeatings. Clean up everything that you can now that it is a class.

  • Make StableBTreeMap a class in stable
  • Clean up all types etc, anything that can be cleaned up now
  • Update all tests and documentation (there might not be any stable documentation on this, don't edit chapter 5 of The Azle Book)
@lastmjs lastmjs mentioned this issue Dec 18, 2024
70 tasks
@lastmjs lastmjs added this to the 0.25.0 milestone Dec 18, 2024
@bdemann bdemann linked a pull request Dec 19, 2024 that will close this issue
6 tasks
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 a pull request may close this issue.

2 participants