r/snowflake•
Grafbase

Seamlessly integrate Snowflake to your federated GraphQL API

With the newly released Snowflake extension it's possible to declaratively integrate Snowflake to your federated GraphQL API.

Here's an example:

extend schema
  @link(url: "https://specs.apollo.dev/federation/v2.7")
  @link(url: "https://grafbase.com/extensions/snowflake/0.1.0", import: ["@snowflakeQuery"])

scalar JSON

type Query {
    customLimit(params: [JSON!]!): String! @snowflakeQuery(sql: "SELECT * FROM my_table LIMIT ?", bindings: "{{ args.params }}")
}

Read more here:
https://grafbase.com/extensions/snowflake

Posted Mar 12, 2025, 7:51 PM UTC

20
Loading comments…