Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion apps/hash-graph/docs/dependency-diagram.mmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions libs/@local/codec/docs/dependency-diagram.mmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions libs/@local/codegen/docs/dependency-diagram.mmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion libs/@local/graph/api/docs/dependency-diagram.mmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libs/@local/graph/api/src/rest/entity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ where
.await
.map_err(report_to_response)?;

let store = store_pool
let mut store = store_pool
.acquire(temporal_client.0)
.await
.map_err(report_to_response)?;
Expand Down
4 changes: 2 additions & 2 deletions libs/@local/graph/api/src/rest/entity/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ where
.attach(hash_status::StatusCode::InvalidArgument)
.map_err(report_to_response)?;

let store = store_pool
let mut store = store_pool
.acquire(temporal_client.0)
.await
.map_err(report_to_response)?;
Expand Down Expand Up @@ -151,7 +151,7 @@ where
.attach(hash_status::StatusCode::InvalidArgument)
.map_err(report_to_response)?;

let store = store_pool
let mut store = store_pool
.acquire(temporal_client.0)
.await
.map_err(report_to_response)?;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions libs/@local/graph/embeddings/docs/dependency-diagram.mmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion libs/@local/graph/migrations/docs/dependency-diagram.mmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use error_stack::Report;
use hash_graph_migrations::{Context, Migration};
use hash_graph_migrations::{ContextTransaction, Migration};
use tokio_postgres::Client;
use tracing::Instrument as _;

Expand All @@ -11,7 +11,7 @@ impl Migration for Extensions {

async fn up(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("up.sql"))
Expand All @@ -27,7 +27,7 @@ impl Migration for Extensions {

async fn down(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("down.sql"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use error_stack::Report;
use hash_graph_migrations::{Context, Migration};
use hash_graph_migrations::{ContextTransaction, Migration};
use tokio_postgres::Client;
use tracing::Instrument as _;

Expand All @@ -11,7 +11,7 @@ impl Migration for Principals {

async fn up(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("up.sql"))
Expand All @@ -27,7 +27,7 @@ impl Migration for Principals {

async fn down(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("down.sql"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use error_stack::Report;
use hash_graph_migrations::{Context, Migration};
use hash_graph_migrations::{ContextTransaction, Migration};
use tokio_postgres::Client;
use tracing::Instrument as _;

Expand All @@ -11,7 +11,7 @@ impl Migration for Policies {

async fn up(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("up.sql"))
Expand All @@ -27,7 +27,7 @@ impl Migration for Policies {

async fn down(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("down.sql"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use error_stack::Report;
use hash_graph_migrations::{Context, Migration};
use hash_graph_migrations::{ContextTransaction, Migration};
use tokio_postgres::Client;

pub struct Webs;
Expand All @@ -10,14 +10,14 @@ impl Migration for Webs {

fn up(
self,
_context: &mut <Self::Context as Context>::Transaction<'_>,
_context: &mut ContextTransaction<'_, Self::Context>,
) -> impl Future<Output = Result<(), Report<Self::Error>>> {
core::future::ready(Ok(()))
}

fn down(
self,
_context: &mut <Self::Context as Context>::Transaction<'_>,
_context: &mut ContextTransaction<'_, Self::Context>,
) -> impl Future<Output = Result<(), Report<Self::Error>>> {
core::future::ready(Ok(()))
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use error_stack::Report;
use hash_graph_migrations::{Context, Migration};
use hash_graph_migrations::{ContextTransaction, Migration};
use tokio_postgres::Client;
use tracing::Instrument as _;

Expand All @@ -11,7 +11,7 @@ impl Migration for CommonOntology {

async fn up(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("up.sql"))
Expand All @@ -27,7 +27,7 @@ impl Migration for CommonOntology {

async fn down(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("down.sql"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use error_stack::Report;
use hash_graph_migrations::{Context, Migration};
use hash_graph_migrations::{ContextTransaction, Migration};
use tokio_postgres::Client;
use tracing::Instrument as _;

Expand All @@ -11,7 +11,7 @@ impl Migration for DataTypes {

async fn up(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("up.sql"))
Expand All @@ -27,7 +27,7 @@ impl Migration for DataTypes {

async fn down(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("down.sql"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use error_stack::Report;
use hash_graph_migrations::{Context, Migration};
use hash_graph_migrations::{ContextTransaction, Migration};
use tokio_postgres::Client;
use tracing::Instrument as _;

Expand All @@ -11,7 +11,7 @@ impl Migration for PropertyTypes {

async fn up(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("up.sql"))
Expand All @@ -27,7 +27,7 @@ impl Migration for PropertyTypes {

async fn down(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("down.sql"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use error_stack::Report;
use hash_graph_migrations::{Context, Migration};
use hash_graph_migrations::{ContextTransaction, Migration};
use tokio_postgres::Client;
use tracing::Instrument as _;

Expand All @@ -11,7 +11,7 @@ impl Migration for EntityTypes {

async fn up(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("up.sql"))
Expand All @@ -27,7 +27,7 @@ impl Migration for EntityTypes {

async fn down(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("down.sql"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use error_stack::Report;
use hash_graph_migrations::{Context, Migration};
use hash_graph_migrations::{ContextTransaction, Migration};
use tokio_postgres::Client;
use tracing::Instrument as _;

Expand All @@ -11,7 +11,7 @@ impl Migration for Entities {

async fn up(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("up.sql"))
Expand All @@ -27,7 +27,7 @@ impl Migration for Entities {

async fn down(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("down.sql"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use error_stack::Report;
use hash_graph_migrations::{Context, Migration};
use hash_graph_migrations::{ContextTransaction, Migration};
use tokio_postgres::Client;
use tracing::Instrument as _;

Expand All @@ -11,7 +11,7 @@ impl Migration for Query {

async fn up(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("up.sql"))
Expand All @@ -27,7 +27,7 @@ impl Migration for Query {

async fn down(
self,
context: &mut <Self::Context as Context>::Transaction<'_>,
context: &mut ContextTransaction<'_, Self::Context>,
) -> Result<(), Report<Self::Error>> {
context
.simple_query(include_str!("down.sql"))
Expand Down
Loading
Loading