MCPcopy Create free account
hub / github.com/ampproject/amphtml / ExtensionSpec_ExtensionUsageRequirement

TypeAlias ExtensionSpec_ExtensionUsageRequirement

validator/validator.pb.go:387–387  ·  view source on GitHub ↗

TagSpec.requires_extension will be set to the new extension's name on one or more TagSpecs that require that extension. This typically creates 2 validation requirements: 1) If a tag is on the page whose TagSpec has the requires_extension field set, but that extension is not present, this is an error

Source from the content-addressed store, hash-verified

385// not trigger warnings or errors.
386// NEXT AVAILABLE TAG: 4
387type ExtensionSpec_ExtensionUsageRequirement int32
388
389const (
390 ExtensionSpec_ERROR ExtensionSpec_ExtensionUsageRequirement = 1

Callers 1

UnmarshalJSONMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected