Fork me on GitHub
#graphql
<
2021-10-20
>
thumbnail14:10:23

We're converting our backend from edn to SDL schema's. We noticed subscriptions didn't work anymore after the change. After some investigation it seems that the root subscription object (`Subscription` in our case) gets :direct-fn attached and :resolve set to the default-field-resolver instead of the default-subscription-resolver. We can work around the problem by injecting default-field-resolver for each field on Subscription, but it was quite a headscratcher. Should this warrant an issue in lacinia or are we missing something else.

thumbnail14:10:35

Would be happy to provide a repro if required btw.

hlship16:10:30

Oh, that certainly sounds like a bug!