swift-spyable
swift-spyable copied to clipboard
Support `any`
Thank you for creating this library 🤝
Describe the bug
Regarding any
, which will definitely be implemented in swift in the future
-> https://github.com/apple/swift-evolution/blob/main/proposals/0335-existential-any.md
We are unable to conduct tests because the code generated by Spyable macro lacks the 'any' attachment on the protocol. If a new Xcode 15.3~ or flag is turned on...
To Reproduce
When we use
-
Xcode 15.3~
or
-
-enable-upcoming-feature ExistentialAny
flag
Expected behavior
Can run tests
Additional context
We are rewriting mock code using Spyable
in a large-scale project.
Your support with this task would be greatly appreciated in the nearly future.
Thanks 👍