Open stanhjr opened 2 years ago
hi ^)
previously it worked:
subscription offerUpdate{ aCardWasUpdated (events: [offer_event_tentatively_accepted, auction_event_successfull]) $CARD_QUERY }
now i get this:
{'message': "Argument 'events' on Field 'aCardWasUpdated' has an invalid value ([offer_event_tentatively_accepted, auction_event_successfull]). Expected type '[CardWasUpdatedEvent!]'
works in this case:
subscription offerUpdate{ aCardWasUpdated (events: [auction_event_successfull]) $CARD_QUERY }
dont works in this case:
subscription offerUpdate{ aCardWasUpdated (events: [offer_event_tentatively_accepted]) $CARD_QUERY }
Is this a temporary issue or has the api changed?
It seems like the CardWasUpdatedEvent enum was updated.
Yes, thank you
@redox @eulbat can you close this issue?
hi ^)
previously it worked:
subscription offerUpdate{ aCardWasUpdated (events: [offer_event_tentatively_accepted, auction_event_successfull]) $CARD_QUERY }
now i get this:
{'message': "Argument 'events' on Field 'aCardWasUpdated' has an invalid value ([offer_event_tentatively_accepted, auction_event_successfull]). Expected type '[CardWasUpdatedEvent!]'
works in this case:
subscription offerUpdate{ aCardWasUpdated (events: [auction_event_successfull]) $CARD_QUERY }
dont works in this case:
subscription offerUpdate{ aCardWasUpdated (events: [offer_event_tentatively_accepted]) $CARD_QUERY }
Is this a temporary issue or has the api changed?