Are there any libraries right now for using the V4...
# pact-swift
r
Are there any libraries right now for using the V4 contract in Swift? I'd like to write a contract that uses the protobuf plugin.
y
the pact ffi library itself is accessible easily through swift directly https://github.com/YOU54F/hello_ffi/blob/main/swift/hello_grpc.swift
i’m not sure if pact swift supports v4 or plugins yet
now that probably isn’t the nicest for a novice end user but could at least get you started? or provide a base to contribute back to the main library
r
Wonderful thank you!
m
There is a fork available that has converted PactSwift to support Swifts concurrency. The DSL is changed a bit but essentially should support v4 too. Unfortunately it’s a fork refactored for a specific project and isn’t cleaned up yet and a few rough edges still exist.
🙌 1
r
Found it thanks! Will check that out as well. https://github.com/ittybittyapps/PactSwift
m
yep
that’s the one, I’m really really short on time to fix it up. There are a few issues raised to make it “release” worthy so we can merge it back into
surpher/PactSwift
and potentially move it to
pact-foundation
, if interested. So any help cleaning it up is more than welcome 👍
🙏 2
👌 1
y
Thanks for the additional context and providing a task list for potential contributors to help out Marko! Hopefully someone can pick up on the great work done already