uber / mockolo

Efficient Mock Generator for Swift
Apache License 2.0
804 stars 85 forks source link

Support `actor` object via annotation metadata #221

Open treastrain opened 1 year ago

treastrain commented 1 year ago

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

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.