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

Extend Builder to support abstract and concrete codegen, and add validation of required attributes during builder().build() #5228

Merged
merged 3 commits into from
Nov 3, 2022

Conversation

trentjeff
Copy link
Member

@trentjeff trentjeff commented Oct 20, 2022

  • Adds builder attribute visitor.
  • Uses Visitor for attribute validation of 'required' attributes (from ConfiguredOptions).
  • For Singular, fixes the plurality of the verbs (addPickle instead of addPickles).
  • Separates out Abstract Builder from Concrete Builder, and other review comments from Tomas.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 20, 2022
@trentjeff trentjeff self-assigned this Oct 20, 2022
@trentjeff trentjeff added the declarative Helidon Declarative label Oct 20, 2022
@trentjeff trentjeff force-pushed the pico2c branch 3 times, most recently from 3b580c3 to edc8a62 Compare October 20, 2022 18:46
@trentjeff trentjeff marked this pull request as ready for review October 20, 2022 19:15
@trentjeff trentjeff changed the title Extend Builder to Support Validation of Required Attributes Extend Builder to support abstract and concrete codegen, and add validation of required attributes during builder().build() Oct 25, 2022
@trentjeff trentjeff force-pushed the pico2c branch 3 times, most recently from 09acfa7 to 6328384 Compare October 26, 2022 01:50
This was referenced Oct 26, 2022
@trentjeff trentjeff force-pushed the pico2c branch 4 times, most recently from 5646b63 to 428f833 Compare November 1, 2022 20:36
@trentjeff trentjeff merged commit 7179876 into helidon-io:main Nov 3, 2022
@trentjeff trentjeff mentioned this pull request Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
declarative Helidon Declarative OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants