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

New type schema #29

Merged
merged 5 commits into from
Sep 20, 2024
Merged

New type schema #29

merged 5 commits into from
Sep 20, 2024

Conversation

rambleraptor
Copy link
Member

@rambleraptor rambleraptor commented Sep 16, 2024

This adds the new type schema we discussed in the prior PR.

The autogenerated files should have no changes.

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.

nice! yeah I think this makes sense.

A few areas to address, PTAL.

schema/resourcedefinition.proto Show resolved Hide resolved
writer/openapi/utils.go Outdated Show resolved Hide resolved
writer/openapi/utils.go Outdated Show resolved Hide resolved
writer/openapi/utils.go Outdated Show resolved Hide resolved
case *schema.Property_ArrayType:
return protoTypeArray(p.GetArrayType(), s, m)
default:
return nil, fmt.Errorf("reached outside of prototype switch statement.")
Copy link
Member

Choose a reason for hiding this comment

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

same comment as above case / switches - something a little more meaningful?

Copy link
Member

Choose a reason for hiding this comment

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

Looks like this was resolved without a reply back - did you decide this was okay as is?

It's fine, just want to clarify.

writer/proto/resource.go Outdated Show resolved Hide resolved
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!

@rambleraptor rambleraptor merged commit 1c6d9c0 into aep-dev:main Sep 20, 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