Hacker News new | past | comments | ask | show | jobs | submit login
End-of-Life of Fauna's GraphQL API
10 points by Illniyar on Sept 8, 2023 | hide | past | favorite | 4 comments
Just got the following email from Fauna (Can't find a blog post or any other public announcement to link to).

"Hello,

We hope this message finds you well. We're writing to inform you about an upcoming change in our GraphQL API.

As you may be aware, we recently released a major new update to Fauna's database language that provides a familiar, TypeScript inspired interface into the database. We have received very strong positive feedback from customers on the new FQL as being much more intuitive and powerful than previous versions of FQL or our GraphQL interface.

In addition, many customers have also expressed confusion with our GraphQL API as it relates to the functionality available from broader GraphQL products like Apollo, Hasura, and Grafbase.

As a result we have made the decision to stop investing in our GraphQL API. Instead we will focus on continuing to enhance FQL, adding functionality like declarative schema support and schema enforcement into Fauna that drew customers to our GraphQL interface, and ensure we integrate well with broader, more fully featured GraphQL products that you can use in conjunction with Fauna.

The GraphQL API will be decommissioned February 29th, 2024.

With the newest version of FQL and the introduction of declarative schema support to Fauna via our Fauna Schema Language, most users will find that migrating to Fauna’s native APIs will simplify their interaction with Fauna while providing the schema related capability that drove the adoption of our GraphQL API. • Fauna’s newest version of our FQL database language: For those who prefer a simpler and more intuitive way to interact with your data, we recommend adopting the newest version of FQL which offers enhanced capabilities and is much easier to use than prior versions. To assist you in this transition, explore the resources available in our documentation's "Learn" section. Here, you can familiarize yourself with FQL and its wide-ranging capabilities. To facilitate a seamless experience, we recommend the use of Fauna v10 drivers (available for Javascript, Python and Go with more languages coming) for most application interactions with the FQL API. These drivers offer comprehensive support for complex data types, ensuring efficient serialization and deserialization. Detailed information about the configuration and usage of these drivers is available on their respective project pages in our documentation. • Fauna Schema Language (FSL) for Schema Management: If you have been using Fauna's GraphQL API to manage your database schema declaratively, you can now use the Fauna Schema Language (FSL) to achieve the same outcome. FSL allows you to directly manage your database schema by utilizing .fsl files. We recommend treating these files as code and integrating them into your code repository. This approach aligns with modern DevOps principles and ensures consistency in managing your schema. For those customers who leverage the ability to enforce schema via GraphQL, we are also adding schema enforcement in the near future: • Object Types and Field-Level Enforcement: FQL is a statically typed language that rigorously performs type checking on scalar types during compilation. In the next several months we will also be adding Schema Enforcement to Fauna will provide comprehensive type checking, encompassing object types and field-level definitions.

There is a helpful migration guide within our documentation and our support team is available to address any questions or concerns you may have throughout this migration process and can be reached at support@fauna.com.

We are excited about this evolution in Fauna that will enable us to focus our innovation and ensure our customers can leverage the power of best in class GraphQL solutions in combination with Fauna.

Best regards, Fauna Support

"




And on a side note, tried searching for "End-of-Life of Fauna's GraphQL API" before I posted this, and got nothing from google.

Not a even a minute after I posted this message, google now shows "The GraphQL API will be decommissioned February 29th, 2024." in the google snippets when I search for the same phrase, linking to this post.

Which on the one hand is damn impressive. But on the other seems a bit insane, anyone can post anything and google will just tout it out as a fact, with practically zero amount of validation aside from "someone posted it on a forum on the web."


Founder of Grafbase here.

Grafbase is a GraphQL platform with a Vercel-like DX for shipping GraphQL APIs with built-in edge caching, analytics and branching.

We are in the process of building the Fauna connector to make it dead simple to deploy a GraphQL API from your Fauna database.

Meanwhile, here’s an example of how to connect a Fauna database to your Grafbase project using resolvers: https://github.com/grafbase/grafbase/tree/main/examples/reso...


Luis from Fauna here - confirming that we are working with partners like Grafbase, who can provide a fully featured GraphQL experience for use with Fauna. We are working with the Grafbase team to help them integrate with our new version of FQL and take advantage of the declarative schema support we have added to Fauna. Get in touch with us if you want to discuss more. -L


Reminds me of Prisma when they moved from using GraphQL as a schema language to their own version. I'm honestly not sure why companies are using GraphQL as a schema rather than a query language at all.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: