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

First class citizen entity object. #13

Open
achiyae opened this issue Jan 28, 2022 · 0 comments
Open

First class citizen entity object. #13

achiyae opened this issue Jan 28, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@achiyae
Copy link
Member

achiyae commented Jan 28, 2022

Create an Entity class that inherits from NativeObject. The class will have readonly id and type fields. In addition, it will override the set field method as following: if we're trying to set the id/type fields or if we're inside a b-thread - an exception will be thrown, otherwise it will call the super setter.

@achiyae achiyae added the enhancement New feature or request label Jan 28, 2022
@achiyae achiyae added this to the Version 0.6.0 milestone Jan 28, 2022
@achiyae achiyae self-assigned this Jan 28, 2022
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

No branches or pull requests

1 participant