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

Objects #22

Merged
merged 8 commits into from
Sep 13, 2024
Merged

Objects #22

merged 8 commits into from
Sep 13, 2024

Conversation

rambleraptor
Copy link
Member

@rambleraptor rambleraptor commented Sep 8, 2024

This adds support for adding nested properties. These are modeled as top-level messages (called 'Objects' in the schema) since that's how proto / OpenAPI would model them.

I'm expecting a lot of comments on this PR since it's both messy and needs to do a lot of refactoring.

Copy link
Member

@toumorokoshi toumorokoshi left a comment

Choose a reason for hiding this comment

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

Thanks! A few design things worth cutting tickets on. The main concern I have is with the object / resource maps and the need to combine them regularly - I think there's a good opportunity to simplify there.

writer/proto/resource.go Outdated Show resolved Hide resolved
writer/proto/resource.go Outdated Show resolved Hide resolved
example/bookstore/v1/bookstore.yaml Show resolved Hide resolved
writer/proto/proto.go Show resolved Hide resolved
@rambleraptor
Copy link
Member Author

Looks like test issue is just because the outputs aren't fully idempotent.

Copy link
Member

@toumorokoshi toumorokoshi left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM.

@rambleraptor rambleraptor merged commit 1e577cf into aep-dev:main Sep 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants