WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@johnmaguire
Copy link
Member

@johnmaguire johnmaguire commented Nov 12, 2025

While adding the downloads endpoint I noticed we can use generics for the common {Data, Errors} paradigm in our API. Updated the existing code and filing this PR to build on.

This file could be further improved by splitting out some components into separate files:

  • StreamController
  • uaTransport
  • Maybe splitting up the DNClient API from the public API

@johnmaguire johnmaguire requested a review from JackDoan November 12, 2025 20:34
Copy link
Contributor

@JackDoan JackDoan left a comment

Choose a reason for hiding this comment

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

squeaky clean

@johnmaguire johnmaguire merged commit bd115dd into main Nov 12, 2025
2 checks passed
@johnmaguire johnmaguire deleted the simplify-types branch November 12, 2025 22:35
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.

3 participants