I’m trying to add an index GraphQL query
I created the Index (works well in FQL),
CreateIndex({
name: 'quotes_reversed',
source: Collection('Quote'),
values: [{ field: ['ref'], reverse: true }],
});
and then added in my GraphQL schema
quotesReversed: [Quote] @index(name: "quotes_reversed")
but when I try to UPDATE SCHEMA in Fauna’s console, it says:
“Error updating GraphQL schema.: Instance data is not valid”
I’m not sure if it’s my fault or is it a bug