Skip to content

Ref v2 Spec #3

Closed
Closed
Feature
@Julian

Description

@Julian

This is some random notes on a new version of the ref resolution API. Feel free to leave comments, although some of the below might be overly terse chicken scratch

  • It should probably be easier to pre-resolve all refs (maybe that should even be the default) rather than lazy/forced resolution
  • Keep in mind async use cases
  • Too many methods bruh. Just 2? Resolver().resolve(ref) + Resolver().for_scope(url)?
  • Take yarl.URLs, not strs
  • What should be the thing for users who want to resolve relative to files on disk?
  • Move the resolver argument to extend

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions