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 support for async and throwing properties to AutoMockable template #1101

Conversation

gspiers
Copy link
Contributor

@gspiers gspiers commented Oct 7, 2022

Description

In this PR I added support for async and throwing properties to the AutoMockable template.

I stuck to the conventions and naming format for methods that are async or throwing so hopefully will fit in nicely.

Also as part of #1100 I accidentally used newer Swift 5.7 syntax for short hand if let here in a Stencil macro, but nothing called that macro (it was for this PR). I've reverted to the older style anyways in this PR to not break the template for anyone using an older version of Swift.

Happy for any feedback or changes that I can make to help get this merged. Thanks again :)

@krzysztofzablocki krzysztofzablocki merged commit 544b639 into krzysztofzablocki:master Oct 8, 2022
@krzysztofzablocki
Copy link
Owner

Thanks!

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