- Notifications
You must be signed in to change notification settings - Fork1k
feat: make dynamic parameters opt-in by default for new templates#19006
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Changes fromall commits
532218e
2ec5806
b933efe
7144f4f
170c5c6
9bbd2b2
f25a9f8
b10945c
67dc627
9eeb11b
7aa393c
238df67
ee116fb
d6a2262
cf8deb0
fc7b5d7
adce52e
a2358bf
273411a
0501cff
b7064c0
fdbf0eb
326d2bf
83e643d
ccb76a4
c4f4fe5
95f53fd
9ba0b67
5cd3e0b
53b9ec6
8fb0043
f88a934
1aad58e
5f1320c
9c4aa40
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE templates ALTER COLUMN use_classic_parameter_flow SET DEFAULT true; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE templates ALTER COLUMN use_classic_parameter_flow SET DEFAULT false; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -197,8 +197,8 @@ func (api *API) postTemplateByOrganization(rw http.ResponseWriter, r *http.Reque | ||
return | ||
} | ||
// Default isfalse as dynamic parameters arenow the preferred approach. | ||
useClassicParameterFlow := ptr.NilToDefault(createTemplate.UseClassicParameterFlow,false) | ||
jaaydenh marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
// Make a temporary struct to represent the template. This is used for | ||
// auditing if any of the following checks fail. It will be overwritten when | ||
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.