Environment Variables now available

Jakub Wieczorek
Josep Vidal
Yoav Lavi
Jamie Barton
Environment Variables now available

We're extremely happy to announce the release of our newest feature — Environment Variables.

Here's an example using an environment variable for your auth provider issuer URL right inside your project schema:

    providers: [{ type: oidc, issuer: "{{ env.CLERK_ISSUER_URL }}" }]
    rules: [{ allow: private }]
  ) {
  query: Query

We've made it easy to set environment variables per environment too. This means you can set different variables for production and preview environments.

You can add, edit, or delete environment variables from inside your project settings at anytime.

You can also set environment variables inside of the file grafbase/.env that will be used by schema when running grafbase dev.

  • Grafbase CLI 0.7.0 has been released to include all of the above.
  • The GraphQL Scalar PhoneNumber has been added.

We'd love to hear your feedback and ideas, so join us on Discord.