You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to define a custom index on a model, but the index is not on a specific field. The definition in cassandra is like this:
CREATE CUSTOM INDEX xxxx_index ON keyspace.table_name () USING 'com.xxx.xxxx.xxx.Index' WITH OPTIONS = { ...yadda yadda yadda
So when I'm defining the custom index in my model definition I'd expect this to work:
custom_indexes: [
{
on: "",
using: "com.xxxx.xxxx.xxxx.Index",
options: {... yadda yadda yadda
But it doesn't:
apollo.model.validator.invalidschema: custom_index must have an 'on' attribute with string value and value must be a valid field name
The text was updated successfully, but these errors were encountered:
Hello there,
I'm trying to define a custom index on a model, but the index is not on a specific field. The definition in cassandra is like this:
CREATE CUSTOM INDEX xxxx_index ON keyspace.table_name () USING 'com.xxx.xxxx.xxx.Index' WITH OPTIONS = { ...yadda yadda yadda
So when I'm defining the custom index in my model definition I'd expect this to work:
custom_indexes: [
{
on: "",
using: "com.xxxx.xxxx.xxxx.Index",
options: {... yadda yadda yadda
But it doesn't:
apollo.model.validator.invalidschema: custom_index must have an 'on' attribute with string value and value must be a valid field name
The text was updated successfully, but these errors were encountered: