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 only have 1 small problem. I want to put a field like this on a relationship type
type Product @relationshipProperties {
names: [String!]
name(language: String): String
@cypher(
statement: """
MATCH(this)
etc.... // depending on language value, take the correct name from names
return value
"""
columnName: "value"
)
}
}
But @cypher is not allowed on a relationship.
I could solve this using a custom resolver, but then a new issue occurs that the returned TYPE from the resolver is not filterable anymore (doesnt hook into the graphql query ecosystem)
The text was updated successfully, but these errors were encountered:
Thanks for this great library.
I only have 1 small problem. I want to put a field like this on a relationship type
But
@cypher
is not allowed on a relationship.I could solve this using a custom resolver, but then a new issue occurs that the returned TYPE from the resolver is not filterable anymore (doesnt hook into the graphql query ecosystem)
The text was updated successfully, but these errors were encountered: