Skip to content

Conversation

@GreemDev
Copy link
Contributor

Description

This PR simply makes the constructors for the 2 different Cacheable structs public.

I want to use this mechanism in my bot's code without duplicating the class in my own project but obviously I can if this functionality is not desired.

I did not add an XML doc, however I can add one if that is desired.

Changes

internal constructor for Cacheable<TCachedEntity, TDownloadableEntity, TRelationship, TId> made public
internal constructor for Cacheable<TEntity, TId> made public

Related Issues

N/A

@GreemDev GreemDev closed this Aug 30, 2025
Copy link
Member

@Misha-133 Misha-133 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a reason for it to be internal.

@Misha-133 Misha-133 reopened this Aug 30, 2025
@Misha-133 Misha-133 merged commit e61eb51 into discord-net:dev Aug 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants