ash_graphql icon indicating copy to clipboard operation
ash_graphql copied to clipboard

feat: subscription dsl

Open barnabasJ opened this issue 2 years ago • 3 comments

Contributor checklist

  • [ ] Bug fixes include regression tests
  • [ ] Features include unit/acceptance tests

barnabasJ avatar Oct 15 '23 11:10 barnabasJ

@zachdaniel I tried to create a test case for the current behaviour before trying to move the code into the dsl but I got a bit stuck.

I copied stuff from https://github.com/absinthe-graphql/absinthe/blob/master/test/absinthe/execution/subscription_test.exs and https://github.com/ash-project/ash/blob/main/test/notifier/pubsub_test.exs but I can't see any messages. I think I'm missing something, Maybe you can give me a hint to get unstuck.

Thanks

barnabasJ avatar Oct 15 '23 11:10 barnabasJ

Will take a look tomorrow 👍

zachdaniel avatar Oct 15 '23 15:10 zachdaniel

The issue doesn't jump out to me immediately...the first step might be to add a custom notifier and make sure notifications are going out at all.

zachdaniel avatar Oct 16 '23 22:10 zachdaniel