Skip to content

Commit

Permalink
more moving around
Browse files Browse the repository at this point in the history
  • Loading branch information
roneli committed Jul 16, 2024
1 parent 0d5333a commit 5de36a2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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'
},
Expand Down
29 changes: 29 additions & 0 deletions docs/src/assets/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pkg/execution/builders/sql/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}{},
},
Expand Down

0 comments on commit 5de36a2

Please sign in to comment.