devsamurai
devsamurai
Should we close this guys?
Found workaround in issue by making sure there's either query request or mutation request defined in schema that returns WeirdPet type Before : ``` type Query { pets: [Pet] owner(id:...
I guess we should still able to create union without creating a "request" that returns the specific union type in this case "WeirdPet" type. Is this a bug?
``` const getDate = (type, start, value, operator) => { start = new Date(start); type = type.charAt(0).toUpperCase() + type.slice(1); if (operator === '+') { start[`set${type}`](start[`get${type}`]() + value); } else {...