-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3/4] Improve: Small Cleanup / Tech Debt Reduction Around NexusWebApi / V2 Types. #2095
Conversation
…ystem used by Mod Pages
…s of Existing Types
tests/Networking/NexusMods.Networking.ModUpdates.Tests/Tests.cs
Outdated
Show resolved
Hide resolved
src/Abstractions/NexusMods.Abstractions.NexusWebApi/Types/V2/Uid/UidForFile.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't mean to approve it above
This PR conflicts with |
This PR doesn't conflict with |
22bc785
to
2c96668
Compare
This PR conflicts with |
This PR doesn't conflict with |
f8b190b
to
dbd6d20
Compare
This PR conflicts with |
This PR doesn't conflict with |
This PR conflicts with |
This PR doesn't conflict with |
# Conflicts: # src/Networking/NexusMods.Networking.ModUpdates/MultiFeedCacheUpdater.cs # src/Networking/NexusMods.Networking.ModUpdates/NexusMods.Networking.ModUpdates.csproj # src/Networking/NexusMods.Networking.ModUpdates/PerFeedCacheUpdater.cs # src/Networking/NexusMods.Networking.ModUpdates/PerFeedCacheUpdaterResult.cs # tests/Networking/NexusMods.Networking.ModUpdates.Tests/Helpers/TestItem.cs # tests/Networking/NexusMods.Networking.ModUpdates.Tests/MultiFeedCacheUpdaterTests.cs # tests/Networking/NexusMods.Networking.ModUpdates.Tests/PerFeedCacheUpdaterTests.cs
This PR conflicts with |
This PR doesn't conflict with |
This is 3rd PR in chain. Continues from:
Should be merged after that PR, this will reduce the diff from main to only changed parts.
Next in chain (final PR):
Review final PR if you want to review all parts at once, else review them by parts sequentially.
Also contributes a bit towards:
Summary
This PR moves the types from
Into the mainline
NexusWebApi
abstractions project.I refrained from doing that in #2092 because it would make PR reviewing very annoying.
In addition some work is done to help migration towards the V2 API.
Changelog
ModUpdates
project now uses types inNexusWebApi
abstractions.V2
folder to prevent accidental future deletion when getting rid of REST APIs.ModId
,FileId
,GameId
now use the correct field size (u32
)u64
like in our previous definition. This has been verified with both backend and GraphQL documentation.UidForFile
andUidForMod
.GameId
+ModId
) or (GameId
+FileId
).Uid
variants are provided.