AssociatedAttachmentResourcesImpl is marked as deprecated, but DiscussionAttachmentResources extends it and is not marked as deprecated
Note that there are two classes named 'DiscussionAttachmentResources' 🤦
The internal/DiscussionAttachmentResources one is the issue.