-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Thanks for this great library.
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)
andreloeffelmannmattorp
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request