norman
05/18/2022, 12:25 PMpg_graphql
extension.
when I run the query in the sql editor, it will response me data.
but when I try to use postman call the query it returns me an error.
Sql Editor
select graphql.resolve($$
{
usersCollection(first: 1) {
edges {
node {
id
}
}
}
}
$$);
result
{
"data": {
"usersCollection": {
"edges": []
}
}
}
postman request
query{
usersCollection(first: 1) {
edges {
node {
id
}
}
}
}
postman response
{
"data": null,
"errors": [
{
"message": "Unknown field 'usersCollection' on type 'Query'"
}
]
}
Needle
05/18/2022, 12:25 PMnorman
05/18/2022, 12:37 PMPG_GRAPHQL
extension, the graphql schema on remain heartbeat
, even I call graphql.rebuild_schema()
olirice
05/30/2022, 2:29 PMNeedle
05/30/2022, 2:29 PM