Skip to content
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

Lexicon resolution #792

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Lexicon resolution #792

wants to merge 10 commits into from

Conversation

bnewbold
Copy link
Collaborator

@bnewbold bnewbold commented Nov 6, 2024

Adds a ResolveNSID method to identity.BaseDirectory. I think keeping DNS TXT resolution stuff together in the same package makes sense, even if this is a "lexicon" thing, not really an "identity" thing. Could consider renaming that method to ResolveLexiconNSID or similar, to clarify it is about NSIDs in the context of Lexicons, not "NSIDs in general" (though they are currently only defined in terms of Lexicons).

Adds a new ResolvingCatalog implementation of the lexicon.Catalog interface, which does resolution from the live network and adds to a local cache. Also lexicon.ResolveLexiconData low-level helper which goes from NSID to Lexicon record data.

@bnewbold bnewbold marked this pull request as draft November 7, 2024 21:34
@bnewbold bnewbold marked this pull request as ready for review December 24, 2024 00:44
@bnewbold bnewbold changed the title experimental lexicon resolution Lexicon resolution Dec 24, 2024
@bnewbold
Copy link
Collaborator Author

bnewbold commented Jan 7, 2025

This is ready for review/merge

@bnewbold bnewbold requested review from ericvolp12 and dholms January 7, 2025 07:11
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.

1 participant