-
Notifications
You must be signed in to change notification settings - Fork 20
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
Load template translations params #1206
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1206 +/- ##
=======================================
Coverage 87.72% 87.73%
=======================================
Files 260 260
Lines 10870 10876 +6
=======================================
+ Hits 9536 9542 +6
Misses 915 915
Partials 419 419 ☔ View full report in Codecov by Sentry. |
assets/static/template.go
Outdated
Content_ string `json:"content" validate:"required"` | ||
Locale_ i18n.Locale `json:"locale" validate:"required"` | ||
Namespace_ string `json:"namespace"` | ||
VariableCount_ int `json:"variable_count"` |
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.
Can't we get rid of variable count? Isn't it just len(params["body"])
?
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.
Yes those are the same, I have not seen where that variable is used actually, I guess probably with the flow_editor, so we can cleanup that once we are sure it is not relied on
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.
I mean get rid of it here if the engine doesn't need it
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.
Okay
No description provided.