"""
@model(create: false, update: false, delete: false, find: false, subCreate: true, subUpdate: true, subDelete: true)
"""
type Test {
_id: GraphbackObjectID!
}
This will not generate any subscription.
while:
"""
@model(create: true, update: false, delete: false, find: false, subCreate: true, subUpdate: true, subDelete: true)
"""
type Test {
_id: GraphbackObjectID!
}
Will only create the newTest subscription since the @model.create is set to true.
I think the generation should depend only on subXXX knobs.
/cc @craicoverflow, @wtrocki
Automatically generated comment to notify maintainers
Version: 1.0.1
I would see this as candidate for 1.0.2 :)
We should be looking at these lines:
and modify the three condition to only check for t.crudOptions.subXXX.
/cc @RinkiyaKeDad this is a good issue too if you are looking for something.
Most helpful comment
I would see this as candidate for 1.0.2 :)