diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 3082ad6..3810ab1 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -14,11 +14,11 @@ export default defineConfig({ }, maxDuration: 8 }), - site: 'https://fastgql.com', + site: 'https://fastgql.io', base: "/", integrations: [starlight({ title: 'FastGQL', - favicon: './favicon.svg', + favicon: './src/assets/favicon.svg', social: { github: 'https://github.com/roneli/fastgql' }, diff --git a/docs/src/assets/favicon.svg b/docs/src/assets/favicon.svg new file mode 100644 index 0000000..b88cd1d --- /dev/null +++ b/docs/src/assets/favicon.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + diff --git a/pkg/execution/builders/sql/builder_test.go b/pkg/execution/builders/sql/builder_test.go index 73427d1..7d142c7 100644 --- a/pkg/execution/builders/sql/builder_test.go +++ b/pkg/execution/builders/sql/builder_test.go @@ -165,7 +165,7 @@ func TestBuilder_Delete(t *testing.T) { { Name: "simple_delete", SchemaFile: "testdata/schema_simple.graphql", - GraphQLQuery: `mutation { deletePosts { rows_affected posts { name id } } }`, + GraphQLQuery: `mutation { deletePosts { rows_affected posts { name id } } }`, ExpectedSQL: `WITH delete_posts AS (DELETE FROM "posts" RETURNING *) SELECT (SELECT COALESCE(jsonb_agg(jsonb_build_object('name', "sq0"."name", 'id', "sq0"."id")), '[]'::jsonb) AS "posts" FROM "delete_posts" AS "sq0") AS "posts", (SELECT COUNT(*) AS "rows_affected" FROM "delete_posts")`, ExpectedArguments: []interface{}{}, },