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
Is your feature request related to a problem? Please describe.
I have includePrivateMembers enabled since I need private methods. But I need to hide private fields.
Describe the solution you'd like
Allow filtering in a filter config like this:
apiRules:
- exclude:
uidRegex: .*accessModifier: privatetype: Field
Describe alternatives you've considered
Disabling includePrivateMembers is not possible since I need the methods. The only alternative I was able to come up with is creating an attribute and marking every single private field with it.
Another workaround that works in my case is applying the filter like this (but relying on the naming scheme):
apiRules:
- exclude:
uidRegex: \._[^\.]*$type: Field
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I have
includePrivateMembers
enabled since I needprivate methods
. But I need to hideprivate fields
.Describe the solution you'd like
Allow filtering in a filter config like this:
Describe alternatives you've considered
Disabling
includePrivateMembers
is not possible since I need the methods. The only alternative I was able to come up with is creating an attribute and marking every single private field with it.Another workaround that works in my case is applying the filter like this (but relying on the naming scheme):
The text was updated successfully, but these errors were encountered: