Open treastrain opened 1 year ago
Part of #216 (https://github.com/uber/mockolo/issues/216#issuecomment-1454179318 's "1.")
Add an annotation "object: class/actor" for specifying the object nominal types of the mock. This allows the user to choose, at his/her own risk, whether to generate the mock for the protocol as a class or as an actor.
For details: https://github.com/uber/mockolo/issues/216#issuecomment-1454179318
All committers have signed the CLA.
Issue
Part of #216 (https://github.com/uber/mockolo/issues/216#issuecomment-1454179318 's "1.")
Description
Add an annotation "object: class/actor" for specifying the object nominal types of the mock. This allows the user to choose, at his/her own risk, whether to generate the mock for the protocol as a class or as an actor.
For details: https://github.com/uber/mockolo/issues/216#issuecomment-1454179318