R007

ResourcesStandardFixable with -fix

check for deprecated (schema.ResourceData).Partial usage

The R007 analyzer reports usage of the deprecated (helper/schema.ResourceData).Partial() function that does not need replacement.

Examples

d.Partial(true),
// Not present :)

Ignoring reports

Singular reports can be ignored by adding a //lintignore:R007 Go code comment at the end of the offending line or on the line immediately preceding, e.g.

//lintignore:R007
d.Partial(true),

This page is generated from passes/R007/README.md, which lives beside the analyzer.