Closed hgl closed 1 year ago
Hmm, looks like this is not easy to implement performatively.
I initially thought listing the field names after if !field.Anonymous()
should be enough, but it seems the external packages are still walked.
I think it would be good addition
Would you accept a PR that allows specifying ignored embedded fields?
My use case:
I'd like to exclude methods from
underlyingDB.Client
.do you think
-ignore Field1,Field2
would be a good argument format?