graphbackExample/snippet of the model that is causing issue
I think we can control this instantiation via the various configuration knobs we have.
/cc @craicoverflow, @wtrocki
Automatically generated comment to notify maintainers
What if the user brings their own subscriptions, either through a plugin or by writing custom resolvers.
Would it be better again to detect if there is a Subscription type in the schema, and only instantiate it in this case?
Wait - those are InMemory PubSub created in DataSync without option to override them.
No - you do not see the lines above/below; it is the default which can be overridden.
What if the user brings their own subscriptions, either through a plugin or by writing custom resolvers.
Would it be better again to detect if there is aSubscriptiontype in the schema, and only instantiate it in this case?
Makes sense, but it's much better for us to advocate the usage of configuration knobs i.e I do not see the point of a user bringing in their own CRUD subscription even if all the subscription options are disabled. That's sounds like by passing our setup and in this case,the users are in the land of their own and can instantiate the pubsub engine as they see fit.
Appears to be closed by https://github.com/aerogear/graphback/pull/2139 - @machi1990 can you confirm?
Appears to be closed by #2139 - @machi1990 can you confirm?
Good catch. Yes, this has been fixed by #2139, thanks to @RinkiyaKeDad