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 Record generation #69

Open
HamzaBenyazid opened this issue Nov 8, 2023 · 3 comments
Open

support Record generation #69

HamzaBenyazid opened this issue Nov 8, 2023 · 3 comments
Assignees

Comments

@HamzaBenyazid
Copy link
Collaborator

The current implementation fails to generate records because it uses the default constructor and setters for the generation and java records doesn't contain that

@HamzaBenyazid HamzaBenyazid converted this from a draft issue Nov 8, 2023
@HamzaBenyazid
Copy link
Collaborator Author

HamzaBenyazid commented Nov 9, 2023

What should be done :

  • Implement RecordGenerator class (see ObjectGenerator)
    Generate fields --> intantiate with all args constructor
  • Create enum value in TypeEnum
  • change getTypeEnumForUnmatchedTypes method to check for Record type
  • Write unit tests

@ibrahim-mestadi
Copy link
Collaborator

@HamzaBenyazid @oubaydos i don't have acces to make it in progress from the board

@oubaydos
Copy link
Owner

@ibrahim-mestadi i added you

@ibrahim-mestadi ibrahim-mestadi moved this from 📋 Backlog to 🏗 In progress in backlog Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

No branches or pull requests

3 participants