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
If a class overrides an abstract field that is not named according to standard conventions (e.g. __typename in code generated by GraphQL libraries such as Apollo), then the overridden field should not have a lint warning for its name, as the user has no control over this field name. Only the base field should have the lint error triggered for it (for the GraphQL example it would not be triggered, as the base field is generated code that Ktlint rightly ignores)
Expected Behavior
If a class overrides an abstract field that is not named according to standard conventions (e.g.
__typename
in code generated by GraphQL libraries such as Apollo), then the overridden field should not have a lint warning for its name, as the user has no control over this field name. Only the base field should have the lint error triggered for it (for the GraphQL example it would not be triggered, as the base field is generated code that Ktlint rightly ignores)e.g.
Current Behavior
A lint warning is raised for overridden fields which do not comply with standard naming conventions
Additional information
The text was updated successfully, but these errors were encountered: