I have a arguments status enum type in my GraphQL i want to input variables and change it by state
const status = ['paid', 'unpaid']
how can i supply this type of variable to my apollo client. Because im having an error it automatic transfroming to string
status: ["paid"] <- Error status: [paid] <- valid enum type
how can i use this without type script?
2.1m questions
2.1m answers
60 comments
57.0k users