Skip to content

Modify XcodeTemplate to require StencilTemplate#230

Merged
tinder-garricnahapetian merged 4 commits intomainfrom
modify-xcode-template-protocol-to-require-stencil-template
Dec 9, 2022
Merged

Modify XcodeTemplate to require StencilTemplate#230
tinder-garricnahapetian merged 4 commits intomainfrom
modify-xcode-template-protocol-to-require-stencil-template

Conversation

@tinder-garricnahapetian
Copy link
Contributor

No description provided.

Copy link
Contributor

@tinder-cfuller tinder-cfuller left a comment

Choose a reason for hiding this comment

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

Great!

let name: String = "name"
let type: String = "type"
let stencils: [String] = ["stencils"]
let stencils: [StencilTemplate] = []
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we not need to provide a StencilTemplate here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

TestXcodeTemplate is only used in testDefaultFilenames() to assert that the default value of filenames is an empty dictionary, which we get via our extension on XcodeTemplate.

@tinder-garricnahapetian tinder-garricnahapetian marked this pull request as ready for review December 9, 2022 01:18
Copy link
Contributor

@tinder-cfuller tinder-cfuller left a comment

Choose a reason for hiding this comment

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

🚀

@tinder-garricnahapetian tinder-garricnahapetian merged commit b7ab7cb into main Dec 9, 2022
@tinder-garricnahapetian tinder-garricnahapetian deleted the modify-xcode-template-protocol-to-require-stencil-template branch December 9, 2022 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

generator Generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants