We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Templates can declare explicit parameters with type, like
{template .demoSwitch} {@param name: string} /** The name of a kid. */ {/template}
Those parameters should be extracted to local variables
guard let name = data["name"] as SoyValue else { // blow up with bad parameter error // also check if name variable is a SoyValue.string }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Templates can declare explicit parameters with type, like
Those parameters should be extracted to local variables
The text was updated successfully, but these errors were encountered: