-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Inventory fetching through CM #3155
Inventory fetching through CM #3155
Conversation
After brief evaluation, good stuff 👍 I'd use this opportunity to refactor and reuse components as much as possible instead of bringing up our own ones:
Does that make sense to you? If yes, we don't need to worry about breaking changes much (for plugin creators), as such refactor is totally justified for future of the program. |
…for InventoryDescription, add properties to description
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.
As I wrote on Discord, the current direction this PR is going is superb, we only need to fix all pending warnings and other errors - feel free to request re-review after that happens and I'll be happy to merge it in if no outstanding problems are found.
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.
Mostly misc stuff, everything else LGTM
Thanks a lot! 🏆 |
Checklist
Changes
New functionality
None
Changed functionality
Inventory fetching now works using CM requests instead of web API, there are no rate-limits and it allows loading even 82k+ inventories in about 11 seconds.
Removed functionality
Fetching foreign inventories is no longer possible, however it wasn’t used in ASF anyway and it is rate-limited to hell ¯\_(ツ)_/¯
Additional info
This code was in production for about a year so it works pretty stable and Steam didn’t break anything in this time period. Also current implementation of
AdditionalProperties
is pretty awkward so any suggestions to improve it are welcome.