We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello
Given type:
type User { userId: ID! uuid: String @property(name:"testIds.uuid") }
And GraphQL query:
{ user(filter: {uuid:"test-uuid"}) { userId uuid } }
Method translate generates wrong filter condition(WHERE section), using method translate into class Translator.kt:
MATCH (user:User) WHERE user.uuid= 'test-uuid' RETURN user { .userId, uuid:user.`testIds.uuid`} AS user
But query should be:
MATCH (user:User) WHERE user.`testIds.uuid`= 'test-uuid' RETURN user { .userId, uuid:user.`testIds.uuid`} AS user
Actual result: empty object is returned.
Possible places to fix: Predicates.kt#toExpression line 120 Predicates.kt#resolvePredicate line 33(be aware about dots in filter placeholders)
Thanks
The text was updated successfully, but these errors were encountered:
Resolve issue neo4j-graphql#160 Incorrect query translation for @Prop…
087b3ae
…erty
Resolved by #171
Sorry, something went wrong.
Add test for issue #160: Incorrect query translation for @Property(na…
3d9528d
…me:"testIds.uuid")
6559366
fc52604
…me:"testIds.uuid") (#207)
No branches or pull requests
Hello
Given type:
And GraphQL query:
Method translate generates wrong filter condition(WHERE section), using method translate into class Translator.kt:
But query should be:
Actual result: empty object is returned.
Possible places to fix:
Predicates.kt#toExpression line 120
Predicates.kt#resolvePredicate line 33(be aware about dots in filter placeholders)
Thanks
The text was updated successfully, but these errors were encountered: