Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This diagnostic occurs when you have duplicate decorators.
Description
Duplicate <decorator-name> decorator.
Level
Error
Solutions
Remove the duplicate decorator.
Examples
The following example raises the diagnostic because there's two duplicate decorators.
@description('foo')
@description('bar')
param name string
You can fix the diagnostic by removing one of the duplicate decorators.
@description('bar')
param name string
For more information, see Decorators.
Next steps
For more information about Bicep diagnostics, see Bicep core diagnostics.