Hi @rajas!
I was running this query:
{
"query": "query QueryOrgs { queryOrg(filter: {}) { id, name, createdOn, updatedOn } }"
}
Running the query you provided also didn’t return any data.
Here’s a snippet of my schema:
interface Org {
id: ID!
name: String! @search(by: [hash])
users: [User] @hasInverse(field: org)
createdOn: DateTime!
updatedOn: DateTime!
}
type LabOrg implements Org & Location @auth( ... ) {
owner: OwnerOrg!
specimens: [Specimen] @hasInverse(field: lab)
plans: [Plan] @hasInverse(field: labs)
}
type StorageOrg implements Org & Location @auth( ... ) {
owner: OwnerOrg!
specimens: [Specimen] @hasInverse(field: storage)
plans: [Plan] @hasInverse(field: storages)
}
The response that comes back is successful (200 status) and the body looks fine there’s just an empty array for { "data": { "queryOrg": [] } }.