Skip to content

Add tests for recursive types in defaulter-gen#1

Closed
nikhita wants to merge 1 commit intocaesarxuchao:add-defaulter-gen-testsfrom
nikhita:nikhita-recursive-types-test
Closed

Add tests for recursive types in defaulter-gen#1
nikhita wants to merge 1 commit intocaesarxuchao:add-defaulter-gen-testsfrom
nikhita:nikhita-recursive-types-test

Conversation

@nikhita
Copy link
Copy Markdown

@nikhita nikhita commented Jun 12, 2017

Fix for defaulter-gen to support recursive types is here: kubernetes#61.
This commit adds tests for it. The tests should pass once kubernetes#61 is merged.

/cc @sttts

}

// Struct_A_Has_Manual_Defaulter has recursive types structA and structB
type Struct_A_Has_Manual_Defaulter struct {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

how about Recursive_Struct_A_With_Manual_Defaulter ? Same for B.

@nikhita nikhita force-pushed the nikhita-recursive-types-test branch from 28b2fad to 4820e8e Compare June 12, 2017 12:53
@nikhita
Copy link
Copy Markdown
Author

nikhita commented Jun 12, 2017

Updated and addressed comments.

@sttts
Copy link
Copy Markdown

sttts commented Jun 12, 2017

lgtm

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