SwitchUpCB

Results 78 comments of SwitchUpCB

### Additional Configuration Additional configuration may be added to allow the user to specify feature flags. ```yml matcher: cast: enabled: true # Determines whether automatic casting is applied to matched...

@listepo I'm technically homeless, but working on Open Source Software every Monday. This week I plan to work multiple days on Copygen to implement this feature with an incoming updated...

# Problem: Private Member Field Behavior Copygen copies the `private member fields` using the automatcher because `EntityPB.state` has an equivalent name and type to the [`timestamppb.Timestamp.state`](https://github.com/protocolbuffers/protobuf-go/blob/v1.31.0/types/known/timestamppb/timestamp.pb.go#L172) field. This condition is...

# Problem: Tag Behavior I cannot confirm whether the specified tagging error exists as you are using an outdated version of Copygen; where tag logic was modified in https://github.com/switchupcb/copygen/commit/d4722f41f1ad3d263d4c28f3e9fa779d97bb1687. Please...

I will be able to address these issues in 1 - 3 weeks with the next update of Copygen.

Regarding 3, here is a proposed solution. `type Cache Manager` stores a map of IDs (User Specified: Shard, Bot, etc) to `Cache` objects. `type Cache` stores a map of IDs...

Following https://github.com/switchupcb/disgo/issues/39#issuecomment-1319112013, the cache manager can be limited to three levels of indirection ("CacheManager(ID) to Cache", "Cache(HASH) to sync.Map", "sync.Map(ResourceID) to Resource") by allowing the user to specify the hashing...

An example applicable to 4 (cache setup) has been created: https://github.com/switchupcb/disgo/issues/35#issuecomment-1312068543.