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

[gen] fix for codegen of sumtypes with reusable fields #2850

Commits on May 23, 2024

  1. [gen] sum types (enums) are now generated with cases in companion tha…

    …t actually extend the sealed trait.
    
          Sum types abstract members generation by reusable components in the schema, as an opt-in, configurable feature.
          Only generating sealed trait body if all subtypes include same reusable component, with it's fields as the abstract trait's members.
          Redundant duplicate classes for each case is now omitted.
          Validate fields in case classes and traits does not contain duplicates that cannot be reconciled.
          Existing tests has been amended to reflect the fix.
          New tests were added.
          Some utilities were added.
    hochgi committed May 23, 2024
    Configuration menu
    Copy the full SHA
    b855ad7 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Configuration menu
    Copy the full SHA
    794ab7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3f6787 View commit details
    Browse the repository at this point in the history
  3. fmt

    hochgi committed May 26, 2024
    Configuration menu
    Copy the full SHA
    29485f0 View commit details
    Browse the repository at this point in the history