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

Helper class inheritance or code generation to quickly build standard contract #290

Open
ailisp opened this issue Nov 8, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request v2.0+

Comments

@ailisp
Copy link
Member

ailisp commented Nov 8, 2022

No description provided.

@ailisp ailisp mentioned this issue Nov 8, 2022
@ailisp ailisp added enhancement New feature or request v1.0 labels Nov 8, 2022
@waynenilsen
Copy link
Contributor

Why would codegen be required? We should leverage all the existing features of JS/TS for code composition and not resort to codegen unless absolutely necessary.

Here, i think the Mix-In pattern would work nicely if it can be made possible, naturally some experimentation would be necessary

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#mix-ins

@volovyks
Copy link
Collaborator

volovyks commented Dec 4, 2022

Now, contract composability is not possible by extension, as proven here: #319
We need to define if this feature is important and if it is - add implementation and examples.

We can consider other options for composability. More info in #319

@ailisp ailisp added v1.0+ and removed v1.0 labels Feb 3, 2023
@ailisp ailisp added v2.0+ and removed v1.0+ labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2.0+
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@waynenilsen @volovyks @ailisp and others