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

Add another case to handle in allOf merging #1636

Merged
merged 2 commits into from
Jul 14, 2021
Merged

Add another case to handle in allOf merging #1636

merged 2 commits into from
Jul 14, 2021

Conversation

Porges
Copy link
Member

@Porges Porges commented Jul 8, 2021

This now occurs due to changes in #1631.

Prerequisites

@Porges Porges changed the base branch from master to short-circuiting July 8, 2021 23:52
validatedString := astmodel.NewValidatedType(
astmodel.StringType,
astmodel.StringValidations{
MaxLength: &maxLen,
Copy link
Member

Choose a reason for hiding this comment

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

Why does this require a pointer to maxLen?

Copy link
Member Author

Choose a reason for hiding this comment

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

it’s optional

Copy link
Member

@theunrepentantgeek theunrepentantgeek left a comment

Choose a reason for hiding this comment

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

Just one question about how a struct is defined, otherwise looks good.

@theunrepentantgeek theunrepentantgeek added this to the codegen-alpha-0 milestone Jul 11, 2021
Base automatically changed from short-circuiting to master July 14, 2021 00:14
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@668c02b). Click here to learn what that means.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1636   +/-   ##
=========================================
  Coverage          ?   66.92%           
=========================================
  Files             ?      204           
  Lines             ?    14790           
  Branches          ?        0           
=========================================
  Hits              ?     9898           
  Misses            ?     4134           
  Partials          ?      758           
Impacted Files Coverage Δ
...gen/pipeline/convert_allof_and_oneof_to_objects.go 71.83% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 668c02b...21d077d. Read the comment docs.

@Porges Porges merged commit e8a90cd into master Jul 14, 2021
@Porges Porges deleted the allof-update branch July 14, 2021 00:30
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.

4 participants