genql
genql copied to clipboard
Boolean values not picked up by everything or scalar:true in subscription calls
@remorses , there may have been a change i am not aware of, although i went through the documentation . but recently , i am having to specify each boolean property and setting to true in a subscriptions, even after ...everything as that is now the only way they get pulled into the final result. is this by design ?
let { query, variables } = generateSubscriptionOp({
employer: {
__args: { id: appData?.orgId },
...everything,
employerLocations: { ...everything },
employees: {
...everything,
isActive:true,
isApproved:true,
....
without explicit isActive:true and isApproved:true , those entries get omitted from the result