🐞 Describe the bug
The auto-generated mocks using MockSwift.template and Sourcery have name conflicts with other classes in my project. Specifically, Mock and Predicate.
📝 To Reproduce
Generate mocks in a project that already defines a Mock and/or Predicate class.
🔍 Expected behavior
It would be great if MockSwift.template included the MockSwift. prefix on the Mock and Predicate classes to avoid this name conflict.
⚙️ Environment
MockSwift version: 1.1.0
OS:
Swift version: 6.1
Xcode version: private version
🐞 Describe the bug
The auto-generated mocks using
MockSwift.templateand Sourcery have name conflicts with other classes in my project. Specifically,MockandPredicate.📝 To Reproduce
Generate mocks in a project that already defines a
Mockand/orPredicateclass.🔍 Expected behavior
It would be great if
MockSwift.templateincluded theMockSwift.prefix on theMockandPredicateclasses to avoid this name conflict.⚙️ Environment
MockSwift version:
1.1.0OS:
Seqoia 15.2x.x.xSwift version:
6.1Xcode version:
private version