Replies: 2 comments
-
I only have a few scripts (one-liners) using graphql. I think this is not much of an issue for me. I would however strongly advise documenting the lookup names as they are not the same as those from the REST api. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sounds good! I don't think it will be any major issues. Also I agree with jsenecal that if you deviate from the REST api naming that would be reflected in the documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A heads up for people using GraphQL, as referenced in issue #9856 we are looking at replacing the current GraphQL library with a new one called Strawberry. A side effect of this is that the query syntax would change so I wanted to give people a heads up and open it up for discussion. The difference comes in the filtering syntax as shown below:
So you have to add "filters:" to the query and the lookup syntax for case-insensitive comparisons and less-the, greater-then queries also changes to be a bit more verbose. Or, more explicitly:
Graphene
Strawberry
The filtering lookup syntax (greater than, less than, case insensitive comparison) is also different:
Graphene
Strawberry
For stawberry, allowing lookups on fields forces the lookup to be present, so it forces this somewhat awkward syntax:
Graphene
Strawberry
Beta Was this translation helpful? Give feedback.
All reactions