So currently we write FQL with TypeScript like:
query.If(
query.Exists(
query.Match(
query.Index('myIndex'),
...someValues
)
),
...do something,
null
);
Last I heard there was a plan to change this functional approach to something else which will be more readable and will require less nesting. Is there any news on whether that’s gonna go out soon or not yet?
I also have just found this FaunaDB support · Issue #2445 · prisma/prisma · GitHub which was 2 years ago but there seems to be no update there so it’s likely that we’re not gonna be able to use Prisma with FaunaDB soon, but I think it’s a good thing if FaunaDB itself will be able to create a tool similar to Prisma (including the schema.prisma file). While FQL is a really powerful language for FaunaDB, it can become really deeply nested.