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

Fixed Generator: TypesFileRenderer #878

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

nhtruong
Copy link
Collaborator

@nhtruong nhtruong commented Sep 23, 2024

  • Handle edge case where allOf comprises only named schemas.
  • Imported objects are now sorted alphabetically instead of by order of reference.

Note to reviewers:

The only handwritten update was in TypesFileRenderer.js. The rest of the files changes were from the new changes in the spec and the update in sorting for imported types.

Issues Resolved

Replacing #877

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

- Handle edge case where allOf comprises only named schemas.
- Imported objects are now sorted alphabetically instead of by order of reference.

Signed-off-by: Theo Truong <[email protected]>
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

For next time consider only merging the manual changes in a PR and letting an automated workflow pickup the change and make a PR of the generated code.

@dblock dblock merged commit f4f7758 into opensearch-project:main Sep 24, 2024
56 of 65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants