-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
@SectionBuilder #2235
@SectionBuilder #2235
Conversation
Update code
Code update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for the contribution. Looks great overall, just one comment
Source/Core/ResultBuilders.swift
Outdated
} | ||
|
||
public static func buildExpression(_ expression: String?) -> [BaseRow] { | ||
[.init(tag: expression)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be instantiating a BaseRow (not a concrete Row). Not sure about how this would be useful
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @mats-claassen
Exactly, deleted it.
Also, yes please add documentation to the Readme about this feature |
Done. |
Hello.
Thank you for Eureka.
Added the first
@resultBuilder
to the project. If you like it, I will add more.@mats-claassen Or should I add some documentation for
@SectionBuilder
?