Skip to content

Update and re-export types#67

Merged
vladimirvolek merged 3 commits into
masterfrom
update-and-export
May 28, 2026
Merged

Update and re-export types#67
vladimirvolek merged 3 commits into
masterfrom
update-and-export

Conversation

@vladimirvolek

@vladimirvolek vladimirvolek commented May 28, 2026

Copy link
Copy Markdown
Member

resolves: #66

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses issue #66 by making the generated blockfrost-openapi model types accessible directly through the blockfrost crate, while also updating the OpenAPI bindings and refreshing related infrastructure.

Changes:

  • Re-export blockfrost_openapi from the crate root so consumers can use generated models without adding a second dependency.
  • Update blockfrost-openapi to 0.1.88 and adjust JSON-deserialization tests for updated schemas.
  • Migrate Nix setup from Niv/default.nix to flakes and update the CI Nix job accordingly.

Reviewed changes

Copilot reviewed 11 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/lib.rs Re-exports blockfrost_openapi to expose generated model types via the SDK.
src/api/endpoints/governance.rs Updates test JSON fixtures to match the updated OpenAPI schema (adds deposit).
src/api/endpoints/accounts.rs Updates test JSON fixtures to match the updated OpenAPI schema (adds deposit).
README.md Bumps installation snippet version to 1.2.4.
CHANGELOG.md Adds 1.2.4 release notes (re-export + OpenAPI update).
Cargo.toml Bumps crate version and updates blockfrost-openapi dependency and feature wiring.
Cargo.lock Locks updated dependency graph for blockfrost-openapi 0.1.88.
nix/sources.nix Removed (Niv-based Nix pinning removed).
nix/sources.json Removed (Niv-based Nix pinning removed).
default.nix Removed (legacy Nix build entrypoint removed).
flake.nix Adds flake-based Nix build/dev shell/checks using crane.
flake.lock Adds locked flake inputs for reproducible Nix builds.
.github/workflows/ci.yaml Updates Nix CI job to use flakes (nix build + nix flake check).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread flake.nix
@vladimirvolek vladimirvolek merged commit 1f4f696 into master May 28, 2026
5 checks passed
@vladimirvolek vladimirvolek deleted the update-and-export branch May 28, 2026 21:56
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.

The blockfrost SDK crate (v1.2.1) does not re-export EpochParamContent

2 participants