Skip to content

Conversation

@MatKuhr
Copy link
Member

@MatKuhr MatKuhr commented Dec 2, 2024

Context

Follow up to #647, see this comment

Feature scope:

  • oneOf deserialization support without discriminators
  • remove @Type property from serialization
  • serialization test
  • general template improvements
  • easier template debugging via property

Definition of Done

  • Functionality scope stated & covered
  • Tests cover the scope above
  • Error handling created / updated & covered by the tests above
  • Documentation updated
  • Release notes updated

@MatKuhr MatKuhr added please merge Request to merge a pull request please review Request to review a pull request labels Dec 2, 2024
public interface OneOfWithDiscriminator
{
public String getSodaType();
String getSodaType();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public is redundant for interfaces

Copy link
Contributor

@CharlesDuboisSAP CharlesDuboisSAP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you create a PR in the AI SDK to see the removed mixIn

@MatKuhr
Copy link
Member Author

MatKuhr commented Dec 3, 2024

Can you create a PR in the AI SDK to see the removed mixIn

will do once #652 is merged to not have too many different generator changes applied in parallel

@CharlesDuboisSAP
Copy link
Contributor

Can you create a PR in the AI SDK to see the removed mixIn

will do once #652 is merged to not have too many different generator changes applied in parallel

Done, let me know when the AI SDK PR is created

@MatKuhr
Copy link
Member Author

MatKuhr commented Dec 9, 2024

Done

@MatKuhr MatKuhr merged commit 67ecf24 into main Dec 10, 2024
14 checks passed
@MatKuhr MatKuhr deleted the fix/one-of-type-annotations branch December 10, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

please merge Request to merge a pull request please review Request to review a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants