go-capnp icon indicating copy to clipboard operation
go-capnp copied to clipboard

3PH part 1: Prepare for 3PH support

Open Semisol opened this issue 1 year ago • 2 comments

This PR does not implement any 3PH related functionality, except preparations:

  • A new Network3PH interface has been added to be implemented by networks supporting 3PH. (this could be named better)
  • 3PH-related methods have been moved out of Network for networks that do not support it.
  • Schemas have been updated to match the capnproto/capnproto repository.

To be done:

  • [ ] Initial 3PH support, with forwarding and Resolve with 3rd party capabilities
  • [ ] Embargo support for 3PH
  • [ ] An extension to the API that allows tail calls (This is not going to be a priority for me, as it is only useful in rare conditions)

Semisol avatar Oct 12 '24 12:10 Semisol

Thanks for the contribution! I think there's a dependency issue causing CI to fail. I had a look in the meantime, and it LGTM overall. Let's get CI passing and then merge it in.

lthibault avatar Oct 15 '24 22:10 lthibault

The automatic schema generator seems to not be able to handle the case of schemas in directories, with compat/ as an example. I'll push an update that fixes this.

Semisol avatar Oct 16 '24 17:10 Semisol