Skip to content

Commit

Permalink
Expose ndc_sdk (#554)
Browse files Browse the repository at this point in the history
<!-- The PR description should answer 2 (maybe 3) important questions:
-->

### What

Allows us to talk about the right underlying models when importing
`ndc-postgres` as a library.

<!-- What is this PR trying to accomplish (and why, if it's not
obvious)? -->

<!-- Consider: do we need to add a changelog entry? -->

### How

Export `ndc_sdk as sdk` in `lib.rs` for `ndc-postgres` connector.

<!-- How is it trying to accomplish it (what are the implementation
steps)? -->
  • Loading branch information
danieljharvey committed Jul 29, 2024
1 parent e2fd651 commit aff8ec5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/connectors/ndc-postgres/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ pub mod mutation;
pub mod query;
pub mod schema;
pub mod state;

// we expose the sdk used for this connector so that we are able to use it in multitenant
pub use ndc_sdk as sdk;

0 comments on commit aff8ec5

Please sign in to comment.