TASVideos / tasvideos

The code for the live TASVideos website
https://tasvideos.org/
GNU General Public License v3.0
62 stars 29 forks source link

Add tuple element identifiers to fix warnings #1819

Closed Masterjun3 closed 5 months ago

YoshiRulz commented 5 months ago

You can do e.g.

using ForumActivityQueryResult = Dictionary<int, (string PostsCreated, string PostsEdited)>;

now, but since it's used in 2 projects, the alias would need to be declared in Directory.Build.props or it wouldn't be a single-source-of-truth. Or if a wrapper struct can be used instead, that would probably be easier.