Skip to content

Migrate to freezed-like API #5

@wxxedu

Description

@wxxedu

Currently, the API requires the user to write a lot of boilerplate code. This is because in the initial design of our API, we tried to follow Isar's API design. The problem is, instead of storing fields as they are, we store the fields inside wrapper classes. Requiring the user to write wrapper classes would be too much boilerplate every time.

After looking into it, I think that it would be best if we could adapt the code generator to be based on a freezed-like style.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions