tweag / nixpkgs-graph-explorer

Explore the nixpkgs dependency graph
MIT License
15 stars 0 forks source link

Update output path schema #75

Closed dorranh closed 1 year ago

dorranh commented 1 year ago

Updated the schema of Package.output_paths to be an array of OutputPath objects rather than an untyped object of strings. This is necessary since pydantic's json schema generation for dict[Enum, str] produce json objects whose only requirement is that their values are strings.