Null parameters ?
See original GitHub issueHow would it be possible to emulate a template parameter that is actually null and should be null ?
I am referring to the case of a webapp x container where to not specifiy a password and let the service use it’s sp to access the acr the “azure portal” way of generating a working template/paramter is
{
"dockerRegistryUsername": {
"value": "dwnextacr"
},
"dockerRegistryPassword": {
"value": null
}
}
I tried with let acrPwdParam = (sprintf “docker-password-for-%s” acrName, null )
but it does not seem to work 😄
For reference the error is
Message: Validation failed for a resource. Check ‘Error.Details[0]’ for more information. Exception Details: Error Code: AccessToContainerRegistryDenied Message: Access is denied.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Null Parameter Values
Test for null parameter variables in your command list and provide default values to avoid possible syntax errors. Parent topic: Variables.
Read more >How do I make my parameter work when it is a null value?
When the parameter has no value, SQL interprets it as null in your code. Null means no value. You can fix this problem...
Read more >C# 11.0 preview: parameter null checking
In this post I'm going to describe what this new language feature does, and how it relates to and is distinct from nullable...
Read more >Spring Data JPA and Null Parameters
Learn different ways to use null parameters with Spring Data JPA queries, including how to make query parameters optional.
Read more >Null subject parameter
Pro-drop parameter, or null subject parameter, is the parameter that determines whether or not a language is pro-drop. A positive setting of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing due to lack of activity.
No worries 😃