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

Support Composition #93

Open
1 task done
globalwebforce opened this issue Jul 4, 2022 · 1 comment
Open
1 task done

Support Composition #93

globalwebforce opened this issue Jul 4, 2022 · 1 comment
Labels
question Further information is requested

Comments

@globalwebforce
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Is there any support on auto-generating composition? there are some cases that we want a Class to inherit another Class, but as of this time inheritance is not supported by freezed package but there's an alternative called composition. Any insight about this one.
Thank you.

rrousselGit/freezed#464

Expected Behavior

No response

Steps To Reproduce

No response

Version

No response

Relevant JSON syntax

No response

Anything else?

No response

@iamarnas
Copy link
Collaborator

@globalwebforce Hi 👋 If I understand you correctly. Composition should work with this generator. But the rest what is not supported by Freezed it not possible generate. This generator generate only data class from the given json string and the rest generates by Freezed.

@iamarnas iamarnas added the question Further information is requested label Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants