You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To support future checks in tfproviderlint and downstream provider linters, provide an Analyzer which returns all FuncDecl matching the signatures of the helper/schema CreateFunc, DeleteFunc, ReadFunc, and UpdateFunc types (func(*ResourceData, interface{}) error).
For now it can directly return the FuncDecl.
The text was updated successfully, but these errors were encountered:
…teFunc parameter naming (#102)
Reference: #12
Reference: #41
Includes small breaking change to `NewSchemaValidationFuncInfo` parameters to simplify usage.
Mikechoi78
added a commit
to Mikechoi78/tfproviderlint
that referenced
this issue
May 23, 2022
…teFunc parameter naming (#102)
Reference: bflad/tfproviderlint#12
Reference: bflad/tfproviderlint#41
Includes small breaking change to `NewSchemaValidationFuncInfo` parameters to simplify usage.
Description
To support future checks in
tfproviderlint
and downstream provider linters, provide anAnalyzer
which returns allFuncDecl
matching the signatures of the helper/schemaCreateFunc
,DeleteFunc
,ReadFunc
, andUpdateFunc
types (func(*ResourceData, interface{}) error
).For now it can directly return the
FuncDecl
.The text was updated successfully, but these errors were encountered: